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>
This commit is contained in:
@@ -2147,7 +2147,7 @@ xfs_rtfree_extent(
|
||||
ASSERT(mp->m_rbmip->i_itemp != NULL);
|
||||
ASSERT(xfs_isilocked(mp->m_rbmip, XFS_ILOCK_EXCL));
|
||||
|
||||
#if defined(__KERNEL__) && defined(DEBUG)
|
||||
#ifdef DEBUG
|
||||
/*
|
||||
* Check to see that this whole range is currently allocated.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user