ocfs2: Use s_umount for quota recovery protection
authorJan Kara <jack@suse.cz>
Wed, 23 Nov 2016 13:35:26 +0000 (14:35 +0100)
committerJan Kara <jack@suse.cz>
Wed, 30 Nov 2016 07:37:21 +0000 (08:37 +0100)
commit5f530de63cfc6ca8571cbdf58af63fb166cc6517
tree549ccc0339802b5a3f3296960b1ec52fe8ebcb1e
parentee1ac541a2446b13b2525929e719e84b63d5e5da
ocfs2: Use s_umount for quota recovery protection

Currently we use dqonoff_mutex to serialize quota recovery protection
and turning of quotas on / off. Use s_umount semaphore instead.

Tested-by: Eric Ren <zren@suse.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/ocfs2/quota_local.c