diff options
| author | Kent Overstreet <kent.overstreet@gmail.com> | 2021-12-15 20:35:45 -0500 |
|---|---|---|
| committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:09:18 -0400 |
| commit | 51c4e406aa5706cdb224ff16eef1d560c504c3ac (patch) | |
| tree | 1a2e25a3f385f6bc5b8019dcef7a3f5b485a76ac /fs/bcachefs/btree_iter.c | |
| parent | bcachefs: Fix debug build in userspace (diff) | |
| download | linux-51c4e406aa5706cdb224ff16eef1d560c504c3ac.tar.gz linux-51c4e406aa5706cdb224ff16eef1d560c504c3ac.zip | |
bcachefs: Fix an assertion in bch2_truncate()
We recently added an assertion that when we truncate a file to 0,
i_blocks should also go to 0 - but that's not necessarily true if we're
doing an emergency shutdown, lots of invariants no longer hold true in
that case.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'fs/bcachefs/btree_iter.c')
0 files changed, 0 insertions, 0 deletions
