summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_attr_sf.h
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@sandeen.net>2008-05-20 07:11:17 +0200
committerNiv Sardi <xaiki@debian.org>2008-07-28 08:58:35 +0200
commit68f34d5107dbace3d14a1c2f060fc8941894879c (patch)
tree79567f2b41853e805bf391e072d22085f3476f44 /fs/xfs/xfs_attr_sf.h
parent[XFS] add missing call to xfs_filestream_unmount on xfs_mountfs failure (diff)
downloadlinux-68f34d5107dbace3d14a1c2f060fc8941894879c.tar.xz
linux-68f34d5107dbace3d14a1c2f060fc8941894879c.zip
[XFS]
de-duplicate calls to xfs_attr_trace_enter Every call to xfs_attr_trace_enter() shares the exact same 16 args in the middle... just send in the context pointer and let the next level down split it into the ktrace. Compile tested only. SGI-PV: 976035 SGI-Modid: xfs-linux-melb:xfs-kern:31200a Signed-off-by: Eric Sandeen <sandeen@sandeen.net> Signed-off-by: Niv Sardi <xaiki@sgi.com> Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net> Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_attr_sf.h')
-rw-r--r--fs/xfs/xfs_attr_sf.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/fs/xfs/xfs_attr_sf.h b/fs/xfs/xfs_attr_sf.h
index f67f917803b1..ea22839caed2 100644
--- a/fs/xfs/xfs_attr_sf.h
+++ b/fs/xfs/xfs_attr_sf.h
@@ -97,13 +97,9 @@ void xfs_attr_trace_l_cb(char *where, struct xfs_attr_list_context *context,
void xfs_attr_trace_l_cl(char *where, struct xfs_attr_list_context *context,
struct xfs_attr_leafblock *leaf);
void xfs_attr_trace_enter(int type, char *where,
- __psunsigned_t a2, __psunsigned_t a3,
- __psunsigned_t a4, __psunsigned_t a5,
- __psunsigned_t a6, __psunsigned_t a7,
- __psunsigned_t a8, __psunsigned_t a9,
- __psunsigned_t a10, __psunsigned_t a11,
- __psunsigned_t a12, __psunsigned_t a13,
- __psunsigned_t a14, __psunsigned_t a15);
+ struct xfs_attr_list_context *context,
+ __psunsigned_t a13, __psunsigned_t a14,
+ __psunsigned_t a15);
#else
#define xfs_attr_trace_l_c(w,c)
#define xfs_attr_trace_l_cn(w,c,n)