]> git.baikalelectronics.ru Git - kernel.git/commit
cleanup sync_supers
authorChristoph Hellwig <hch@lst.de>
Tue, 5 May 2009 14:08:56 +0000 (16:08 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 12 Jun 2009 01:36:06 +0000 (21:36 -0400)
commit285133b304ba196e82d6e6eeb9958046cfec3629
tree4a74a93f1468acb111ba9a3e9ed4a55f338f51fe
parent169739565300b3d02159cc1a6697e69671990239
cleanup sync_supers

Merge the write_super helper into sync_super and move the check for
->write_super earlier so that we can avoid grabbing a reference to
a superblock that doesn't have it.

While we're at it also add a little comment documenting sync_supers.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/super.c