diff options
author | Jan Kara <jack@suse.cz> | 2016-02-22 17:50:13 +0100 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2016-02-22 17:50:13 +0100 |
commit | 82939d7999dfc1f1998c4b1c12e2f19edbdff272 (patch) | |
tree | 3cebaf09ba5689f67b67bd73c79aca8d6e413140 /fs/ext4/ext4.h | |
parent | mbcache2: reimplement mbcache (diff) | |
download | linux-82939d7999dfc1f1998c4b1c12e2f19edbdff272.tar.xz linux-82939d7999dfc1f1998c4b1c12e2f19edbdff272.zip |
ext4: convert to mbcache2
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>
Diffstat (limited to 'fs/ext4/ext4.h')
-rw-r--r-- | fs/ext4/ext4.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h index 157b458a69d4..9ac9e62569ef 100644 --- a/fs/ext4/ext4.h +++ b/fs/ext4/ext4.h @@ -1468,7 +1468,7 @@ struct ext4_sb_info { struct list_head s_es_list; /* List of inodes with reclaimable extents */ long s_es_nr_inode; struct ext4_es_stats s_es_stats; - struct mb_cache *s_mb_cache; + struct mb2_cache *s_mb_cache; spinlock_t s_es_lock ____cacheline_aligned_in_smp; /* Ratelimit ext4 messages. */ |