ocfs2: Protect periodic quota syncing with s_umount semaphore
authorJan Kara <jack@suse.cz>
Wed, 23 Nov 2016 12:47:57 +0000 (13:47 +0100)
committerJan Kara <jack@suse.cz>
Wed, 30 Nov 2016 07:36:54 +0000 (08:36 +0100)
commit2a64f80ee3ab47dc0114e077ea27903c97882138
tree1d07451b22176490840eda1efb0637e6e450e063
parent9d1ccbe70e0b14545caad12dc73adb3605447df0
ocfs2: Protect periodic quota syncing with s_umount semaphore

New quota locking rules will require s_umount semaphore for all quota
scanning functions. Add is for periodic quota syncing.

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