diff options
Diffstat (limited to 'fs/xfs/xfs_iops.c')
-rw-r--r-- | fs/xfs/xfs_iops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_iops.c b/fs/xfs/xfs_iops.c index e041e917c1d9..e6b3e7620888 100644 --- a/fs/xfs/xfs_iops.c +++ b/fs/xfs/xfs_iops.c | |||
@@ -465,7 +465,7 @@ xfs_vn_getattr( | |||
465 | trace_xfs_getattr(ip); | 465 | trace_xfs_getattr(ip); |
466 | 466 | ||
467 | if (XFS_FORCED_SHUTDOWN(mp)) | 467 | if (XFS_FORCED_SHUTDOWN(mp)) |
468 | return XFS_ERROR(EIO); | 468 | return -XFS_ERROR(EIO); |
469 | 469 | ||
470 | stat->size = XFS_ISIZE(ip); | 470 | stat->size = XFS_ISIZE(ip); |
471 | stat->dev = inode->i_sb->s_dev; | 471 | stat->dev = inode->i_sb->s_dev; |