quota: avoid increasing DQST_LOOKUPS when iterating over dirty/inuse list
authorChengguang Xu <cgxu519@zoho.com.cn>
Thu, 26 Sep 2019 08:34:08 +0000 (16:34 +0800)
committerJan Kara <jack@suse.cz>
Fri, 4 Oct 2019 08:07:38 +0000 (10:07 +0200)
commit05848db2083d4f232e84e385845dcd98d5c511b2
treed897077224388fa67671a955423c9077f44aa46f
parentcc3a7bfe62b947b423fcb2cfe89fcba92bf48fa3
quota: avoid increasing DQST_LOOKUPS when iterating over dirty/inuse list

It is meaningless to increase DQST_LOOKUPS number while iterating
over dirty/inuse list, so just avoid it.

Link: https://lore.kernel.org/r/20190926083408.4269-1-cgxu519@zoho.com.cn
Signed-off-by: Chengguang Xu <cgxu519@zoho.com.cn>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/quota/dquot.c