bcachefs: Fix a quota read bug
authorKent Overstreet <kent.overstreet@linux.dev>
Sun, 28 May 2023 00:00:13 +0000 (20:00 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:10:02 +0000 (17:10 -0400)
commite7ffda565a762a6bdf782b4978af5ccfe4ab5d0d
tree01524b097eca71d22f81caf551a3e7b11a379a43
parentc26463ce9940d150dfeaac0a1a0747db9b1ca600
bcachefs: Fix a quota read bug

bch2_fs_quota_read() could see an inode that's been deleted
(KEY_TYPE_inode_generation) - bch2_fs_quota_read_inode() needs to check
for that instead of erroring.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/quota.c