summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_iocore.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_iocore.c')
-rw-r--r--fs/xfs/xfs_iocore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_iocore.c b/fs/xfs/xfs_iocore.c
index 06d710c9ce4b..81548ec72ba6 100644
--- a/fs/xfs/xfs_iocore.c
+++ b/fs/xfs/xfs_iocore.c
@@ -52,7 +52,7 @@ STATIC xfs_fsize_t
xfs_size_fn(
xfs_inode_t *ip)
{
- return (ip->i_d.di_size);
+ return XFS_ISIZE(ip);
}
STATIC int