X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fext3%2Fxattr.h;fp=fs%2Fext3%2Fxattr.h;h=2ceae38f3d49726293f36997cb5b514a7d05bc2e;hb=43bc926fffd92024b46cafaf7350d669ba9ca884;hp=eb31a69e82dc93db91ae93fcbea7995bee36b69e;hpb=cee37fe97739d85991964371c1f3a745c00dd236;p=linux-2.6.git diff --git a/fs/ext3/xattr.h b/fs/ext3/xattr.h index eb31a69e8..2ceae38f3 100644 --- a/fs/ext3/xattr.h +++ b/fs/ext3/xattr.h @@ -133,3 +133,14 @@ exit_ext3_xattr(void) #define ext3_xattr_handlers NULL # endif /* CONFIG_EXT3_FS_XATTR */ + +#ifdef CONFIG_EXT3_FS_SECURITY +extern int ext3_init_security(handle_t *handle, struct inode *inode, + struct inode *dir); +#else +static inline int ext3_init_security(handle_t *handle, struct inode *inode, + struct inode *dir) +{ + return 0; +} +#endif