ext2: convert to mbcache2
authorJan Kara <jack@suse.cz>
Mon, 22 Feb 2016 16:56:38 +0000 (11:56 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 22 Feb 2016 16:56:38 +0000 (11:56 -0500)
commitbe0726d33cb8f411945884664924bed3cb8c70ee
tree9460f6b33739e505f29cfa94a13530e8d087a624
parent82939d7999dfc1f1998c4b1c12e2f19edbdff272
ext2: convert to mbcache2

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: Jan Kara <jack@suse.cz>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext2/ext2.h
fs/ext2/super.c
fs/ext2/xattr.c
fs/ext2/xattr.h