]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[XFS] Stale the correct inode when freeing clusters.
authorDavid Chinner <dgc@sgi.com>
Tue, 21 Nov 2006 07:55:33 +0000 (18:55 +1100)
committerTim Shimmin <tes@sgi.com>
Tue, 21 Nov 2006 07:55:33 +0000 (18:55 +1100)
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>
fs/xfs/xfs_inode.c

index d72c80dbfbb1fd64629c72b6d5797beb8008624c..44dfac5212856567195068f9570e65f8857709c5 100644 (file)
@@ -2258,7 +2258,7 @@ xfs_ifree_cluster(
                                AIL_LOCK(mp,s);
                                iip->ili_flush_lsn = iip->ili_item.li_lsn;
                                AIL_UNLOCK(mp, s);
-                               xfs_iflags_set(ip, XFS_ISTALE);
+                               xfs_iflags_set(iip->ili_inode, XFS_ISTALE);
                                pre_flushed++;
                        }
                        lip = lip->li_bio_list;