[PATCH 38/55] xfs: remove __KERNEL__ check from xfs_dir2_leaf.c
Mark Tinguely
tinguely at sgi.com
Fri Sep 6 12:29:38 CDT 2013
On 09/04/13 17:05, 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>
> ---
user equivalent of the for Linux 3.12 kernel patch 31/50.
Looks good to me.
Reviewed-by: Mark Tinguely <tinguely at sgi.com>
More information about the xfs
mailing list