summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_icache.c
diff options
context:
space:
mode:
authorDave Chinner <david@fromorbit.com>2015-09-01 10:30:11 +1000
committerDave Chinner <david@fromorbit.com>2015-09-01 10:30:11 +1000
commit5d54b8cdeaf4679c51a510dea3f8921992d0b064 (patch)
tree62852f195efbd0e5c2bb222d6b74896de4ceac57 /fs/xfs/xfs_icache.c
parent70b33a7466baac62103e04c916b8915665b79d80 (diff)
parent1a7ccad88d1bcebabc011b54a2f8615175e523fc (diff)
Merge branch 'xfs-misc-fixes-for-4.3-4' into for-nextxfs-for-linus-4.3
Diffstat (limited to 'fs/xfs/xfs_icache.c')
-rw-r--r--fs/xfs/xfs_icache.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/xfs/xfs_icache.c b/fs/xfs/xfs_icache.c
index 76a9f2783282..0a326bd64d4e 100644
--- a/fs/xfs/xfs_icache.c
+++ b/fs/xfs/xfs_icache.c
@@ -412,6 +412,8 @@ xfs_iget(
if (!ino || XFS_INO_TO_AGNO(mp, ino) >= mp->m_sb.sb_agcount)
return -EINVAL;
+ XFS_STATS_INC(xs_ig_attempts);
+
/* get the perag structure and ensure that it's inode capable */
pag = xfs_perag_get(mp, XFS_INO_TO_AGNO(mp, ino));
agino = XFS_INO_TO_AGINO(mp, ino);