vfs: Provide function to get superblock and wait for it to thaw
authorJan Kara <jack@suse.cz>
Fri, 10 Feb 2012 10:03:00 +0000 (11:03 +0100)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 14 Feb 2012 01:45:38 +0000 (20:45 -0500)
In quota code we need to find a superblock corresponding to a device and wait
for superblock to be unfrozen. However this waiting has to happen without
s_umount semaphore because that is required for superblock to thaw. So provide
a function in VFS for this to keep dances with s_umount where they belong.

[AV: implementation switched to saner variant]

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

No differences found