]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: remove __KERNEL__ check from xfs_dir2_leaf.c
authorDave Chinner <dchinner@redhat.com>
Mon, 12 Aug 2013 10:49:52 +0000 (20:49 +1000)
committerBen Myers <bpm@sgi.com>
Mon, 12 Aug 2013 21:59:14 +0000 (16:59 -0500)
commit696a956819925ddc639f90a846278c7bd9136c66
tree189ba011986c18a261fa712efb643f8bce007f50
parent3da37cd5fe8aeeeb1fead7eb1a5a614bbc093dfa
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 <dchinner@redhat.com>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_dir2_leaf.c