diff options
author | Felix Blyakher <felixb@sgi.com> | 2005-09-04 18:24:49 -0400 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2005-09-04 18:24:49 -0400 |
commit | 0c147f9a864f043e6f93a4bb3519c1166419bd74 (patch) | |
tree | 767fd3c37f9bce54b3412b6c0cb1b0138125a242 /fs/xfs/linux-2.6 | |
parent | 4cd4a034a3ef020d9de48fe0a3f5f976e5134669 (diff) |
[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 <felixb@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs/xfs/linux-2.6')
-rw-r--r-- | 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 index 9b40a2799f7e..cd3f8b3270ac 100644 --- 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( | |||
400 | vp->v_flag &= ~VMODIFIED; | 400 | vp->v_flag &= ~VMODIFIED; |
401 | VN_UNLOCK(vp, 0); | 401 | VN_UNLOCK(vp, 0); |
402 | 402 | ||
403 | VOP_RECLAIM(vp, error); | 403 | if (vp->v_fbhv) { |
404 | if (error) | 404 | VOP_RECLAIM(vp, error); |
405 | panic("vn_purge: cannot reclaim"); | 405 | if (error) |
406 | panic("vn_purge: cannot reclaim"); | ||
407 | } | ||
406 | 408 | ||
407 | ASSERT(vp->v_fbhv == NULL); | 409 | ASSERT(vp->v_fbhv == NULL); |
408 | 410 | ||