summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_bmap.h
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2013-08-12 20:49:50 +1000
committerBen Myers <bpm@sgi.com>2013-08-12 16:57:51 -0500
commit63d20d6e3620898e67f80c813ec199b19b1674a9 (patch)
treefbb208b9564567019d9a50fcd5c7723a306799ec /fs/xfs/xfs_bmap.h
parent94b406091bb3fcbab3d846d7d273e30e5fc8ceb5 (diff)
downloadop-kernel-dev-63d20d6e3620898e67f80c813ec199b19b1674a9.zip
op-kernel-dev-63d20d6e3620898e67f80c813ec199b19b1674a9.tar.gz
xfs: kill __KERNEL__ check for debug code in allocation code
Userspace running debug builds is relatively rare, so there's need to special case the allocation algorithm code coverage debug switch. As it is, userspace defines random numbers to 0, so invert the logic of the switch so it is effectively a no-op in userspace. This kills another couple of __KERNEL__ users. 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')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud