aboutsummaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/btree_iter.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2021-12-15 20:35:45 -0500
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 17:09:18 -0400
commit51c4e406aa5706cdb224ff16eef1d560c504c3ac (patch)
tree1a2e25a3f385f6bc5b8019dcef7a3f5b485a76ac /fs/bcachefs/btree_iter.c
parentbcachefs: Fix debug build in userspace (diff)
downloadlinux-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