]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
quota: remove dqptr_sem
authorNiu Yawei <yawei.niu@gmail.com>
Wed, 4 Jun 2014 04:23:19 +0000 (12:23 +0800)
committerJan Kara <jack@suse.cz>
Tue, 15 Jul 2014 20:40:22 +0000 (22:40 +0200)
commitb9ba6f94b2382ef832f97122976b73004f714714
tree29bab149a28538c9a7f97aae52a78aec0c2ee3b5
parent9eb6463f31cf720deaf0e810cacc403d7720b10c
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>
fs/quota/dquot.c
fs/super.c
include/linux/quota.h