diff options
author | Nathan Scott <nathans@sgi.com> | 2006-03-17 01:26:04 -0500 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2006-03-17 01:26:04 -0500 |
commit | b12dd34298cf0cff9f337f667045335140873039 (patch) | |
tree | 0f2ef353bc17f247e538a28137a0a3f8ad3b5e0e /fs/xfs/xfs_vfsops.c | |
parent | 2ddd5928d01ca8eb49f55166411b64a5844a8959 (diff) |
[XFS] Fix an infinite loop issue in bulkstat when a corrupt inode is
detected. Thanks to Roger Willcocks.
SGI-PV: 951054
SGI-Modid: xfs-linux-melb:xfs-kern:25477a
Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_vfsops.c')
-rw-r--r-- | fs/xfs/xfs_vfsops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_vfsops.c b/fs/xfs/xfs_vfsops.c index 5dd84fe609cc..811a4261fa2c 100644 --- a/fs/xfs/xfs_vfsops.c +++ b/fs/xfs/xfs_vfsops.c | |||
@@ -1229,7 +1229,7 @@ xfs_sync_inodes( | |||
1229 | xfs_iunlock(ip, XFS_ILOCK_SHARED); | 1229 | xfs_iunlock(ip, XFS_ILOCK_SHARED); |
1230 | 1230 | ||
1231 | error = xfs_itobp(mp, NULL, ip, | 1231 | error = xfs_itobp(mp, NULL, ip, |
1232 | &dip, &bp, 0); | 1232 | &dip, &bp, 0, 0); |
1233 | if (!error) { | 1233 | if (!error) { |
1234 | xfs_buf_relse(bp); | 1234 | xfs_buf_relse(bp); |
1235 | } else { | 1235 | } else { |