Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 84436
b: refs/heads/master
c: 15947f2
h: refs/heads/master
v: v3
  • Loading branch information
Lachlan McIlroy authored and Lachlan McIlroy committed Feb 7, 2008
1 parent 988789b commit 7b1bb4a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 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: 7642861b7eeaddfc82d762b3342044c809c3f77e
refs/heads/master: 15947f2d4f747897f31cfaa36e98a93f80ca3d3f
3 changes: 3 additions & 0 deletions trunk/fs/xfs/linux-2.6/xfs_vnode.h
Original file line number Diff line number Diff line change
Expand Up @@ -314,12 +314,15 @@ extern void xfs_itrace_rele(struct xfs_inode *, char *, int, inst_t *);
_xfs_itrace_entry(ip, __FUNCTION__, (inst_t *)__return_address)
#define xfs_itrace_exit(ip) \
_xfs_itrace_exit(ip, __FUNCTION__, (inst_t *)__return_address)
#define xfs_itrace_exit_tag(ip, tag) \
_xfs_itrace_exit(ip, tag, (inst_t *)__return_address)
#define xfs_itrace_ref(ip) \
_xfs_itrace_ref(ip, __FILE__, __LINE__, (inst_t *)__return_address)

#else
#define xfs_itrace_entry(a)
#define xfs_itrace_exit(a)
#define xfs_itrace_exit_tag(a, b)
#define xfs_itrace_hold(a, b, c, d)
#define xfs_itrace_ref(a)
#define xfs_itrace_rele(a, b, c, d)
Expand Down
8 changes: 3 additions & 5 deletions trunk/fs/xfs/xfs_iget.c
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,7 @@ xfs_iget_core(
goto again;
}

_xfs_itrace_exit(ip, "xfs_iget.alloc",
(inst_t *)__return_address);
xfs_itrace_exit_tag(ip, "xfs_iget.alloc");

XFS_STATS_INC(xs_ig_found);

Expand Down Expand Up @@ -212,8 +211,7 @@ xfs_iget_core(
xfs_ilock(ip, lock_flags);

xfs_iflags_clear(ip, XFS_ISTALE);
_xfs_itrace_exit(ip, "xfs_iget.found",
(inst_t *)__return_address);
xfs_itrace_exit_tag(ip, "xfs_iget.found");
goto return_ip;
}

Expand All @@ -234,7 +232,7 @@ xfs_iget_core(
return error;
}

_xfs_itrace_exit(ip, "xfs_iget.alloc", (inst_t *)__return_address);
xfs_itrace_exit_tag(ip, "xfs_iget.alloc");

xfs_inode_lock_init(ip, vp);
xfs_iocore_inode_init(ip);
Expand Down

0 comments on commit 7b1bb4a

Please sign in to comment.