xfs: per-filesystem stats counter implementation
[deliverable/linux.git] / fs / xfs / xfs_inode.c
index dc40a6d5ae0dc909a79ef72917c5eb1551fae227..a0f2bae6dc1efb1103ea2bac204868de6f8d81a4 100644 (file)
@@ -3271,8 +3271,8 @@ xfs_iflush_cluster(
        }
 
        if (clcount) {
-               XFS_STATS_INC(xs_icluster_flushcnt);
-               XFS_STATS_ADD(xs_icluster_flushinode, clcount);
+               XFS_STATS_INC(mp, xs_icluster_flushcnt);
+               XFS_STATS_ADD(mp, xs_icluster_flushinode, clcount);
        }
 
 out_free:
@@ -3345,7 +3345,7 @@ xfs_iflush(
        struct xfs_dinode       *dip;
        int                     error;
 
-       XFS_STATS_INC(xs_iflush_count);
+       XFS_STATS_INC(mp, xs_iflush_count);
 
        ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL|XFS_ILOCK_SHARED));
        ASSERT(xfs_isiflocked(ip));
This page took 0.034949 seconds and 5 git commands to generate.