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)
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

diff --cc fs/affs/super.c
Simple merge