Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e5ffd2bb authored by David Chinner's avatar David Chinner Committed by Tim Shimmin
Browse files

[XFS] Stale the correct inode when freeing clusters.



SGI-PV: 958376
SGI-Modid: xfs-linux-melb:xfs-kern:27503a

Signed-off-by: default avatarDavid Chinner <dgc@sgi.com>
Signed-off-by: default avatarTim Shimmin <tes@sgi.com>
parent d2133717
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;