diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c index a955b02124539618d80365fd49b2d6aa6e9af1e0..3cbc9031731b4036971925722598fc7b5e622902 100644 --- a/fs/xfs/xfs_inode.c +++ b/fs/xfs/xfs_inode.c @@ -3207,6 +3207,7 @@ xfs_iflush_cluster( */ spin_lock(&iq->i_flags_lock); if (!iq->i_ino || + __xfs_iflags_test(iq, XFS_ISTALE) || (XFS_INO_TO_AGINO(mp, iq->i_ino) & mask) != first_index) { spin_unlock(&iq->i_flags_lock); continue;