diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-01-12 00:49:23 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:09:23 -0400 |
commit | a9c0b125d8162bf648f7a004f70d4cff6e84ddd9 (patch) | |
tree | 7f31f104a3990f81d89be13eb18604c67377d1bd /fs/bcachefs/inode.c | |
parent | 80bf2f345411b9952a984b6105cd860500b01228 (diff) |
bcachefs: Improve btree_key_cache_flush_pos()
btree_key_cache_flush_pos() uses BTREE_ITER_CACHED_NOFILL - but it
wasn't checking for !ck->valid. It does check for the entry being dirty,
so it shouldn't matter, but this refactor it a bit and adds and
assertion.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'fs/bcachefs/inode.c')
0 files changed, 0 insertions, 0 deletions