]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5745985d41a02de9a4fbc411aba21be6bb08982c
tree75676aae179fc56bbb9d861c0ab656a9edaa7ca4
parent85b6140962a48de1f4c64645c316f4aebd403d88
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