mbcache: make mbcache naming more generic
authorTahsin Erdogan <tahsin@google.com>
Thu, 22 Jun 2017 14:29:53 +0000 (10:29 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 22 Jun 2017 14:29:53 +0000 (10:29 -0400)
commitc07dfcb45877fbc6798fa042bab3c4b85378efd4
treea626ee2c0841dd7370097b8a1e874941f34de4eb
parentb6d9029df083c0a9ce1d4eda1480105e635e0d61
mbcache: make mbcache naming more generic

Make names more generic so that mbcache usage is not limited to
block sharing. In a subsequent patch in the series
("ext4: xattr inode deduplication"), we start using the mbcache code
for sharing xattr inodes. With that patch, old mb_cache_entry.e_block
field could be holding either a block number or an inode number.

Signed-off-by: Tahsin Erdogan <tahsin@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext2/xattr.c
fs/ext4/xattr.c
fs/mbcache.c
include/linux/mbcache.h