diff options
author | Nathan Scott <nathans@sgi.com> | 2006-03-17 17:26:04 +1100 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2006-03-17 17:26:04 +1100 |
commit | b12dd34298cf0cff9f337f667045335140873039 (patch) | |
tree | 0f2ef353bc17f247e538a28137a0a3f8ad3b5e0e /fs/xfs/xfs_vfsops.c | |
parent | 2ddd5928d01ca8eb49f55166411b64a5844a8959 (diff) | |
download | lwn-b12dd34298cf0cff9f337f667045335140873039.tar.gz lwn-b12dd34298cf0cff9f337f667045335140873039.zip |
[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( xfs_iunlock(ip, XFS_ILOCK_SHARED); error = xfs_itobp(mp, NULL, ip, - &dip, &bp, 0); + &dip, &bp, 0, 0); if (!error) { xfs_buf_relse(bp); } else { |