Re: [PATCH 36/55] xfs: kill __KERNEL__ check for debug code in allocation code

Mark Tinguely
2013-09-06T17:20:32Z

On 09/04/13 17:05, Dave Chinner wrote:
> From: Dave Chinner<dchinner@redhat.com>
>
> 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>
> ---

user equivalent of the for Linux 3.12 kernel patch 29/50.
Did not change from last post. Looks good.

Reviewed-by: Mark Tinguely <tinguely@sgi.com>