diff options
| author | Kent Overstreet <kent.overstreet@gmail.com> | 2021-10-12 14:25:13 -0400 |
|---|---|---|
| committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:09:13 -0400 |
| commit | 776eaddb2cef366b16dac8857899dbb4cc5dfdb1 (patch) | |
| tree | c127b190ca5eb942cd7570a88e779235cf819e08 /lib | |
| parent | 395576807555fa9ffb2ae038cae1fe2699f85b89 (diff) | |
bcachefs: Fix deletion in __bch2_dev_usrdata_drop()
With snapshots, __bch2_dev_usr_data_drop() now uses an ALL_SNAPSHOTS
iterator, which isn't an extent iterator - meaning we shouldn't be
inserting whiteouts with nonzero size to delete. This fixes a bug where
we go RO because we tried to insert an invalid key in the device remove
path.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions
