diff options
author | Jan Kara <jack@suse.cz> | 2017-06-08 14:39:48 +0200 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2017-08-17 18:52:48 +0200 |
commit | bc8230ee8e2ba967af780cdaf2dcc0f8e5eb45ca (patch) | |
tree | e35a0236c766c6e9db88548fb8ff0dc7861119e2 /fs/super.c | |
parent | aae4e7a8bc44722fe70d58920a36916b1043195e (diff) | |
download | linux-stable-bc8230ee8e2ba967af780cdaf2dcc0f8e5eb45ca.tar.gz linux-stable-bc8230ee8e2ba967af780cdaf2dcc0f8e5eb45ca.tar.bz2 linux-stable-bc8230ee8e2ba967af780cdaf2dcc0f8e5eb45ca.zip |
quota: Convert dqio_mutex to rwsem
Convert dqio_mutex to rwsem and call it dqio_sem. No functional changes
yet.
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/super.c')
-rw-r--r-- | fs/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/super.c b/fs/super.c index 6bc3352adcf3..221cfa1f4e92 100644 --- a/fs/super.c +++ b/fs/super.c @@ -242,7 +242,7 @@ static struct super_block *alloc_super(struct file_system_type *type, int flags, atomic_set(&s->s_active, 1); 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); + init_rwsem(&s->s_dquot.dqio_sem); s->s_maxbytes = MAX_NON_LFS; s->s_op = &default_op; s->s_time_gran = 1000000000; |