new helper: iterate_supers_type()
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 4 Jun 2011 00:16:57 +0000 (20:16 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 20 Jul 2011 05:43:04 +0000 (01:43 -0400)
commit43e15cdbefea4ce6d68113de98d4f61c0cf45687
tree75676aae179fc56bbb9d861c0ab656a9edaa7ca4
parent44396f4b5cb8566f7118aec55eeac99be7ad94cb
new helper: iterate_supers_type()

Call the given function for all superblocks of given type.  Function
gets a superblock (with s_umount locked shared) and (void *) argument
supplied by caller of iterator.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/super.c
include/linux/fs.h