diff options
author | Dave Chinner <dchinner@redhat.com> | 2013-08-12 20:49:51 +1000 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2013-08-12 16:58:37 -0500 |
commit | b49a0c1883899bf9bc6cc5b9c4e6ee5d0f552530 (patch) | |
tree | c601838e731215d9499caa5e40ea602214d39789 /fs/xfs/xfs_bmap.h | |
parent | 63d20d6e3620898e67f80c813ec199b19b1674a9 (diff) | |
download | op-kernel-dev-b49a0c1883899bf9bc6cc5b9c4e6ee5d0f552530.zip op-kernel-dev-b49a0c1883899bf9bc6cc5b9c4e6ee5d0f552530.tar.gz |
xfs: remove __KERNEL__ from debug code
There is no reason the remaining kernel-only debug code needs to
remain kernel-only. Kill the __KERNEL__ part of the defines, and let
userspace handle the debug code appropriately.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_bmap.h')
-rw-r--r-- | fs/xfs/xfs_bmap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_bmap.h b/fs/xfs/xfs_bmap.h index 8b2fe97..33b41f3 100644 --- a/fs/xfs/xfs_bmap.h +++ b/fs/xfs/xfs_bmap.h @@ -127,7 +127,7 @@ static inline void xfs_bmap_init(xfs_bmap_free_t *flp, xfs_fsblock_t *fbp) { BMAP_RIGHT_FILLING, "RF" }, \ { BMAP_ATTRFORK, "ATTR" } -#if defined(__KERNEL) && defined(DEBUG) +#ifdef DEBUG void xfs_bmap_trace_exlist(struct xfs_inode *ip, xfs_extnum_t cnt, int whichfork, unsigned long caller_ip); #define XFS_BMAP_TRACE_EXLIST(ip,c,w) \ |