tree 767fd3c37f9bce54b3412b6c0cb1b0138125a242 parent 4cd4a034a3ef020d9de48fe0a3f5f976e5134669 author Felix Blyakher <[EMAIL PROTECTED]> Mon, 05 Sep 2005 08:24:49 +1000 committer Nathan Scott <[EMAIL PROTECTED]> Mon, 05 Sep 2005 08:24:49 +1000
[XFS] Check if there is first behavior before calling VOP_RECLAIM from linvfs_clear_inode(). The behavior may go away in VOP_INACTIVE. SGI-PV: 941000 SGI-Modid: xfs-linux:xfs-kern:197355a Signed-off-by: Felix Blyakher <[EMAIL PROTECTED]> Signed-off-by: Nathan Scott <[EMAIL PROTECTED]> fs/xfs/linux-2.6/xfs_super.c | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/fs/xfs/linux-2.6/xfs_super.c b/fs/xfs/linux-2.6/xfs_super.c --- a/fs/xfs/linux-2.6/xfs_super.c +++ b/fs/xfs/linux-2.6/xfs_super.c @@ -400,9 +400,11 @@ linvfs_clear_inode( vp->v_flag &= ~VMODIFIED; VN_UNLOCK(vp, 0); - VOP_RECLAIM(vp, error); - if (error) - panic("vn_purge: cannot reclaim"); + if (vp->v_fbhv) { + VOP_RECLAIM(vp, error); + if (error) + panic("vn_purge: cannot reclaim"); + } ASSERT(vp->v_fbhv == NULL); - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html