[PLUG] What does _KERNEL macro mean?

Ashutosh Adkar ashu.adkar at gmail.com
Sat Aug 4 20:40:52 IST 2007

         I have been looking into a lot of file system source code
lately.One thing I found but couldnt understand was that in the FS primary
header file
         we have definitions of structures like the superblock, inode and
directory entry.
         But after all the structure definitions what I saw almost every
where was the macro,
        "ifdef _KERNEL"

       What is this macro used for ?
       What does it mean?

        Thanks a lot

Ashutosh Adkar

More information about the Plug-mail mailing list