diff options
author | Jan Kara <jack@suse.cz> | 2022-07-12 12:54:27 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2022-08-02 23:56:25 -0400 |
commit | 1189d8ec5105f7628fb0e3a6988cbf0d0cbfedeb (patch) | |
tree | f7365028252193ab01236fa973e133f4313f24eb /fs/afs/misc.c | |
parent | b67798d55185ba4471f70b67b3f7c2866f216499 (diff) |
ext2: avoid deleting xattr block that is being reused
Currently when we decide to reuse xattr block we detect the case when
the last reference to xattr block is being dropped at the same time and
cancel the reuse attempt. Convert ext2 to a new scheme when as soon as
matching mbcache entry is found, we wait with dropping the last xattr
block reference until mbcache entry reference is dropped (meaning either
the xattr block reference is increased or we decided not to reuse the
block).
Signed-off-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20220712105436.32204-8-jack@suse.cz
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/afs/misc.c')
0 files changed, 0 insertions, 0 deletions