Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 23deaa42 authored by Jan Kara's avatar Jan Kara Committed by Chenbo Feng
Browse files

BACKPORT: [UPSTREAM] ext2: convert to mbcache2



(Cherry-pick from commit be0726d33cb8f411945884664924bed3cb8c70ee)

The conversion is generally straightforward. We convert filesystem from
a global cache to per-fs one. Similarly to ext4 the tricky part is that
xattr block corresponding to found mbcache entry can get freed before we
get buffer lock for that block. So we have to check whether the entry is
still valid after getting the buffer lock.

Signed-off-by: default avatarJan Kara <jack@suse.cz>
Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
Bug: 32461228
parent 0c680b9c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment