[PATCH 31/49] xfs: remove __KERNEL__ check from xfs_dir2_leaf.c

Mark Tinguely tinguely at sgi.com
Fri Jul 26 09:16:45 CDT 2013


On 07/19/13 01:25, Dave Chinner wrote:
> From: Dave Chinner<dchinner at redhat.com>
>
> It's actually an ifndef section, which means it is only included in
> userspace. however, it's deep within the libxfs code, so it's
> unlikely that the condition checked in userspace can actually occur
> (search an empty leaf) through the libxfs interfaces. i.e. if it can
> happen in usrspace, it can happen in the kernel, so remove it from
> userspace too....
>
> Signed-off-by: Dave Chinner<dchinner at redhat.com>
> ---

Looks good for the kernel.

Reviewed-by: Mark Tinguely <tinuguely at sgi.com>



More information about the xfs mailing list