Skip to contentSkip to conversation

all that __KERNEL__ checking in <linux/ext*.h> files

DISCUSSION Robert P. J. Day 1 participant 1 message Mar 29, 2008

lore
Share & tools
lore
#0 lore raw

there's a pile of __KERNEL__ preprocessor testing in the ext[234].h
files in include/linux, but only ext2_fs.h is being exported to userspace. given the amount of checking, i'm reluctant to just toss it all since it might be there for future considerations or something.

is there a reason for it?

rday
--

========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
Have classroom, will lecture.

http://crashcourse.ca Waterloo, Ontario, CANADA
========================================================================