]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/quota/quota_v1.c
quota: Refactor dquot_transfer code so that OCFS2 can pass in its references
[karo-tx-linux.git] / fs / quota / quota_v1.c
index 2ae757e9c008478bde15a0883925378770e6ee95..4af344c5852a9e1cb53e4d8eb2fe70d51f5b10a4 100644 (file)
@@ -71,7 +71,7 @@ static int v1_read_dqblk(struct dquot *dquot)
            dquot->dq_dqb.dqb_ihardlimit == 0 &&
            dquot->dq_dqb.dqb_isoftlimit == 0)
                set_bit(DQ_FAKE_B, &dquot->dq_flags);
-       dqstats.reads++;
+       dqstats_inc(DQST_READS);
 
        return 0;
 }
@@ -104,7 +104,7 @@ static int v1_commit_dqblk(struct dquot *dquot)
        ret = 0;
 
 out:
-       dqstats.writes++;
+       dqstats_inc(DQST_WRITES);
 
        return ret;
 }