affs: re-structure superblock locking a bit
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Wed, 6 Jun 2012 15:56:54 +0000 (18:56 +0300)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 14 Jul 2012 12:32:43 +0000 (16:32 +0400)
commite0471c8d8abbc2b07fc82f7b02896d1637909319
tree66af7fa7aca968deb48379697c0cd1dabd053dbb
parent0164b1a32e6849121ea73ef3124a2994951a4713
affs: re-structure superblock locking a bit

AFFS wants to serialize the superblock (the root block in AFFS terms) updates
and uses 'lock_super()/unlock_super()' for these purposes. This patch pushes the
locking down to the 'affs_commit_super()' from the callers.

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