]> git.karo-electronics.de Git - linux-beck.git/commit
quota: avoid unnecessary dqget()/dqput() calls
authorNiu Yawei <yawei.niu@gmail.com>
Wed, 4 Jun 2014 04:20:30 +0000 (12:20 +0800)
committerJan Kara <jack@suse.cz>
Tue, 15 Jul 2014 20:40:21 +0000 (22:40 +0200)
commit1ea06bec78a128adc995ca32bd906a6c9bb9cf91
treee306601eeb564fcc425841f8591df5069e3a9d15
parent606cdcca04a609ed4dfbfe788942de9477da556b
quota: avoid unnecessary dqget()/dqput() calls

Avoid unnecessary dqget()/dqput() calls in __dquot_initialize(),
that will introduce global lock contention otherwise.

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