]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit44aad176821a7bd5888bee52797e1aab93fae2dd
tree66af7fa7aca968deb48379697c0cd1dabd053dbb
parenta163a8863ab50f376123c76ba67b269f2bba6938
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