hfs: push lock_super down
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Thu, 12 Jul 2012 14:28:44 +0000 (17:28 +0300)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 22 Jul 2012 19:58:05 +0000 (23:58 +0400)
commit715189d836ab276b3d0fc114681f12b423686ffa
treea78c44275d3094363bf6055f114f6da0c909f85f
parent9e6c5829b07c9ba6668807631914efc557fab059
hfs: push lock_super down

HFS uses 'lock_super()'/'unlock_super()' around 'hfs_mdb_commit()' in order
to serialize MDB (Master Directory Block) changes. Push it down to
'hfs_mdb_commit()' in order to simplify the code a bit.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/hfs/inode.c
fs/hfs/mdb.c
fs/hfs/super.c