X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=fs%2Fext2%2Fxattr.h;h=bf8175b2ced95ed1cb69ed541f76437dbe2f29f0;hb=9a6ab769bdacc65e7d4e931034e12e02c357c4d3;hp=5f3bfde3b8100adb0166945373015a47afbd7553;hpb=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2;p=linux-2.6-omap-h63xx.git diff --git a/fs/ext2/xattr.h b/fs/ext2/xattr.h index 5f3bfde3b81..bf8175b2ced 100644 --- a/fs/ext2/xattr.h +++ b/fs/ext2/xattr.h @@ -6,7 +6,6 @@ (C) 2001 Andreas Gruenbacher, */ -#include #include #include @@ -116,3 +115,11 @@ exit_ext2_xattr(void) # endif /* CONFIG_EXT2_FS_XATTR */ +#ifdef CONFIG_EXT2_FS_SECURITY +extern int ext2_init_security(struct inode *inode, struct inode *dir); +#else +static inline int ext2_init_security(struct inode *inode, struct inode *dir) +{ + return 0; +} +#endif