VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   57 Tags
author: Chengguang Xu <cgxu519@zoho.com.cn> 2019-09-26 16:34:08 +0800 committer: Jan Kara <jack@suse.cz> 2019-10-04 10:07:38 +0200 commit: 05848db2083d4f232e84e385845dcd98d5c511b2 parent: cc3a7bfe62b947b423fcb2cfe89fcba92bf48fa3
Commit Summary:
quota: avoid increasing DQST_LOOKUPS when iterating over dirty/inuse list
Diffstat:
1 file changed, 0 insertions, 2 deletions
diff --git a/fs/quota/dquot.c b/fs/quota/dquot.c
index 6e826b454082..00a3c6df2ea3 100644
--- a/fs/quota/dquot.c
+++ b/fs/quota/dquot.c
@@ -595,7 +595,6 @@ int dquot_scan_active(struct super_block *sb,
 		/* Now we have active dquot so we can just increase use count */
 		atomic_inc(&dquot->dq_count);
 		spin_unlock(&dq_list_lock);
-		dqstats_inc(DQST_LOOKUPS);
 		dqput(old_dquot);
 		old_dquot = dquot;
 		/*
@@ -649,7 +648,6 @@ int dquot_writeback_dquots(struct super_block *sb, int type)
 			 * use count */
 			dqgrab(dquot);
 			spin_unlock(&dq_list_lock);
-			dqstats_inc(DQST_LOOKUPS);
 			err = sb->dq_op->write_dquot(dquot);
 			if (err) {
 				/*