summaryrefslogtreecommitdiffstats
path: root/fs/super.c
diff options
context:
space:
mode:
authorNiu Yawei <yawei.niu@gmail.com>2014-06-04 12:23:19 +0800
committerJan Kara <jack@suse.cz>2014-07-15 22:40:22 +0200
commitb9ba6f94b2382ef832f97122976b73004f714714 (patch)
tree29bab149a28538c9a7f97aae52a78aec0c2ee3b5 /fs/super.c
parent9eb6463f31cf720deaf0e810cacc403d7720b10c (diff)
downloadop-kernel-dev-b9ba6f94b2382ef832f97122976b73004f714714.zip
op-kernel-dev-b9ba6f94b2382ef832f97122976b73004f714714.tar.gz
quota: remove dqptr_sem
Remove dqptr_sem to make quota code scalable: Remove the dqptr_sem, accessing inode->i_dquot now protected by dquot_srcu, and changing inode->i_dquot is now serialized by dq_data_lock. Signed-off-by: Lai Siyao <lai.siyao@intel.com> Signed-off-by: Niu Yawei <yawei.niu@intel.com> 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 d20d5b1..872b26b 100644
--- a/fs/super.c
+++ b/fs/super.c
@@ -218,7 +218,6 @@ static struct super_block *alloc_super(struct file_system_type *type, int flags)
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);
- init_rwsem(&s->s_dquot.dqptr_sem);
s->s_maxbytes = MAX_NON_LFS;
s->s_op = &default_op;
s->s_time_gran = 1000000000;
OpenPOWER on IntegriCloud