From 6d1682c0cd78e881d065d1fdb94fb24c5673103e Mon Sep 17 00:00:00 2001 From: Felix Blyakher Date: Mon, 5 Sep 2005 08:24:49 +1000 Subject: [PATCH] --- yaml --- r: 7609 b: refs/heads/master c: 0c147f9a864f043e6f93a4bb3519c1166419bd74 h: refs/heads/master i: 7607: 174ba9c481a72f645c93021308e145e6c092bb98 v: v3 --- [refs] | 2 +- trunk/fs/xfs/linux-2.6/xfs_super.c | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index d94fb737e98b..3b4f698fcd39 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 4cd4a034a3ef020d9de48fe0a3f5f976e5134669 +refs/heads/master: 0c147f9a864f043e6f93a4bb3519c1166419bd74 diff --git a/trunk/fs/xfs/linux-2.6/xfs_super.c b/trunk/fs/xfs/linux-2.6/xfs_super.c index 9b40a2799f7e..cd3f8b3270ac 100644 --- a/trunk/fs/xfs/linux-2.6/xfs_super.c +++ b/trunk/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);