Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 7612
b: refs/heads/master
c: 02ba71d
h: refs/heads/master
v: v3
  • Loading branch information
Christoph Hellwig authored and Nathan Scott committed Sep 4, 2005
1 parent b30eb69 commit 3e35c27
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 53937c52c3f1dff6100174f50a85c068f16713ae
refs/heads/master: 02ba71de98d5eee63e82cc2d88f9ea8430810a9a
9 changes: 6 additions & 3 deletions trunk/fs/xfs/linux-2.6/xfs_super.c
Original file line number Diff line number Diff line change
Expand Up @@ -387,14 +387,17 @@ linvfs_clear_inode(

vn_trace_entry(vp, "clear_inode", (inst_t *)__return_address);

ASSERT(vp->v_fbhv != NULL);

XFS_STATS_INC(vn_rele);
XFS_STATS_INC(vn_remove);
XFS_STATS_INC(vn_reclaim);
XFS_STATS_DEC(vn_active);

VOP_INACTIVE(vp, NULL, cache);
/*
* This can happen because xfs_iget_core calls xfs_idestroy if we
* find an inode with di_mode == 0 but without IGET_CREATE set.
*/
if (vp->v_fbhv)
VOP_INACTIVE(vp, NULL, cache);

VN_LOCK(vp);
vp->v_flag &= ~VMODIFIED;
Expand Down

0 comments on commit 3e35c27

Please sign in to comment.