From: Dave Chinner Date: Mon, 12 Aug 2013 10:49:50 +0000 (+1000) Subject: xfs: kill __KERNEL__ check for debug code in allocation code X-Git-Tag: v3.12-rc1~80^2~77 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63d20d6e3620898e67f80c813ec199b19b1674a9;p=pandora-kernel.git 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 Reviewed-by: Mark Tinguely Signed-off-by: Ben Myers --- Reading git-diff-tree failed