OSDN Git Service

BACKPORT [UPSTREAM] ext4: convert to mbcache2
authorJan Kara <jack@suse.cz>
Mon, 22 Feb 2016 16:50:13 +0000 (11:50 -0500)
committerChenbo Feng <fengc@google.com>
Wed, 19 Apr 2017 01:24:55 +0000 (18:24 -0700)
commite29de4e87171faa5d3ab882b0bc555bbd07c9c5b
treef5180b6d71879f761b43fa3eded1463f7b8dfd9c
parent9e242ec92f951165b52de630ca8ecc6a2748f655
BACKPORT [UPSTREAM] ext4: convert to mbcache2

(Cherry-pick from commit 82939d7999dfc1f1998c4b1c12e2f19edbdff272)

The conversion is generally straightforward. The only 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 buffer lock.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Bug; 32461228
fs/ext4/ext4.h
fs/ext4/super.c
fs/ext4/xattr.c
fs/ext4/xattr.h