]> www.infradead.org Git - users/willy/linux.git/commit
bcachefs: Flag inodes that had btree update errors
authorKent Overstreet <kent.overstreet@gmail.com>
Thu, 3 Dec 2020 19:27:20 +0000 (14:27 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:49 +0000 (17:08 -0400)
commit33c74e4119a91c3ae87fc207777e34fdbb613c66
tree7ec7f2834dee851fc4795cffb1f0d3b122f86cd2
parent0fefe8d8ef74029e9f3676ef9613ef022ae6dbd6
bcachefs: Flag inodes that had btree update errors

On write error, the vfs inode's i_size may be inconsistent with the
btree inode's i_size - flag this so we don't have spurious assertions.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/fs-io.c
fs/bcachefs/fs.c
fs/bcachefs/fs.h