summaryrefslogtreecommitdiffstats
path: root/fs/super.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2016-11-23 14:04:55 +0100
committerJan Kara <jack@suse.cz>2016-11-30 08:38:07 +0100
commitc3b004460d77bf3f980d877be539016f2df4df12 (patch)
tree3000d941e7b3ac2fd3ea20d625a384dc4a28a977 /fs/super.c
parent5f530de63cfc6ca8571cbdf58af63fb166cc6517 (diff)
downloadlinux-c3b004460d77bf3f980d877be539016f2df4df12.tar.bz2
quota: Remove dqonoff_mutex
The only places that were grabbing dqonoff_mutex are functions turning quotas on and off and these are properly serialized using s_umount semaphore. Remove dqonoff_mutex. Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/super.c')
-rw-r--r--fs/super.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/super.c b/fs/super.c
index f7f724230e2b..1709ed029a2c 100644
--- a/fs/super.c
+++ b/fs/super.c
@@ -244,7 +244,6 @@ static struct super_block *alloc_super(struct file_system_type *type, int flags,
mutex_init(&s->s_vfs_rename_mutex);
lockdep_set_class(&s->s_vfs_rename_mutex, &type->s_vfs_rename_key);
mutex_init(&s->s_dquot.dqio_mutex);
- mutex_init(&s->s_dquot.dqonoff_mutex);
s->s_maxbytes = MAX_NON_LFS;
s->s_op = &default_op;
s->s_time_gran = 1000000000;