]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1c52481d1963de3cea711ccb5cfa9e5badc8778e
tree9460f6b33739e505f29cfa94a13530e8d087a624
parent75980e9575cf7bf5eb943b2bc6d89409f013c161
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