fs: Provide function to get superblock with exclusive s_umount
authorJan Kara <jack@suse.cz>
Wed, 23 Nov 2016 11:53:00 +0000 (12:53 +0100)
committerJan Kara <jack@suse.cz>
Wed, 23 Nov 2016 11:53:00 +0000 (12:53 +0100)
commitba6379f7e6c7e51b3c0e92672bc61bb6961c2b5e
treec5e086577b7eee8adec845698b23b6e3b33b9862
parent9c763584b7c8911106bb77af7e648bef09af9d80
fs: Provide function to get superblock with exclusive s_umount

Quota code will need a variant of get_super_thawed() that returns
superblock with s_umount held in exclusive mode to serialize quota on
and quota off operations. Provide this functionality.

Signed-off-by: Jan Kara <jack@suse.cz>
fs/super.c
include/linux/fs.h