aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_inode.c
diff options
context:
space:
mode:
authorDavid Chinner <dgc@sgi.com>2006-11-21 02:55:33 -0500
committerTim Shimmin <tes@sgi.com>2006-11-21 02:55:33 -0500
commite5ffd2bb62c3f2c0d9f34e0d16fab6e2c8b056fb (patch)
tree5b3d07b4e8d5c9b51df143ad3caa02723231058d /fs/xfs/xfs_inode.c
parentd2133717d5f994cca970b5aeb9d4664feeb92ff4 (diff)
[XFS] Stale the correct inode when freeing clusters.
SGI-PV: 958376 SGI-Modid: xfs-linux-melb:xfs-kern:27503a Signed-off-by: David Chinner <dgc@sgi.com> Signed-off-by: Tim Shimmin <tes@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_inode.c')
-rw-r--r--fs/xfs/xfs_inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c
index d72c80dbfbb1..44dfac521285 100644
--- a/fs/xfs/xfs_inode.c
+++ b/fs/xfs/xfs_inode.c
@@ -2258,7 +2258,7 @@ xfs_ifree_cluster(
2258 AIL_LOCK(mp,s); 2258 AIL_LOCK(mp,s);
2259 iip->ili_flush_lsn = iip->ili_item.li_lsn; 2259 iip->ili_flush_lsn = iip->ili_item.li_lsn;
2260 AIL_UNLOCK(mp, s); 2260 AIL_UNLOCK(mp, s);
2261 xfs_iflags_set(ip, XFS_ISTALE); 2261 xfs_iflags_set(iip->ili_inode, XFS_ISTALE);
2262 pre_flushed++; 2262 pre_flushed++;
2263 } 2263 }
2264 lip = lip->li_bio_list; 2264 lip = lip->li_bio_list;