PERFORCE change 164513 for review
    Aditya Sarawgi 
    truncs at FreeBSD.org
       
    Tue Jun 16 16:13:59 UTC 2009
    
    
  
http://perforce.freebsd.org/chv.cgi?CH=164513
Change 164513 by truncs at aditya on 2009/06/16 16:13:05
	More __KERNEL__ blocks.
Affected files ...
.. //depot/projects/soc2009/soc_ext2fs/src/sys/gnu/fs/ext2fs/ext2_fs.h#24 edit
Differences ...
==== //depot/projects/soc2009/soc_ext2fs/src/sys/gnu/fs/ext2fs/ext2_fs.h#24 (text+ko) ====
@@ -314,14 +314,10 @@
 
 
 
-#ifdef __KERNEL__
-#define EXT2_SB(sb)	(&((sb)->u.ext2_sb))
-#else
 /* Assume that user mode programs are passing in an ext2fs superblock, not
  * a kernel struct super_block.  This will allow us to call the feature-test
  * macros from user land. */
 #define EXT2_SB(sb)	(sb)
-#endif
 
 
 
@@ -367,14 +363,6 @@
 };
 
 
-#ifdef __KERNEL__
-#define EXT2_SB(sb)	(&((sb)->u.ext2_sb))
-#else
-/* Assume that user mode programs are passing in an ext2fs superblock, not
- * a kernel struct super_block.  This will allow us to call the feature-test
- * macros from user land. */
-#define EXT2_SB(sb)	(sb)
-#endif
 
 
 /*
    
    
More information about the p4-projects
mailing list