fs/mbcache.c: change block and index hash chain to hlist_bl_node
authorT Makphaibulchoke <tmac@hp.com>
Tue, 18 Mar 2014 23:19:41 +0000 (19:19 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 18 Mar 2014 23:19:41 +0000 (19:19 -0400)
commit3e037e5211252902a188a6a11aecd247409d0229
tree55bddffd164cc22ceba4020d9a0e9d2f666d40d4
parentb8a8684502a0fc852afa0056c6bb2a9273f6fcc0
fs/mbcache.c: change block and index hash chain to hlist_bl_node

This patch changes each mb_cache's both block and index hash chains to
use a hlist_bl_node, which contains a built-in lock.  This is the
first step in decoupling of locks serializing accesses to mb_cache
global data and each mb_cache_entry local data.

Signed-off-by: T. Makphaibulchoke <tmac@hp.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/mbcache.c
include/linux/mbcache.h