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