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>
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);