JFS: Implement jfs_init_security
[sfrench/cifs-2.6.git] / fs / jfs / jfs_xattr.h
index 116a73ce3076e76be887b3b4b7b5a2e791ae6248..25e9990bccd1be1926a21847d4135544a7dd4e42 100644 (file)
@@ -61,4 +61,14 @@ extern ssize_t jfs_getxattr(struct dentry *, const char *, void *, size_t);
 extern ssize_t jfs_listxattr(struct dentry *, char *, size_t);
 extern int jfs_removexattr(struct dentry *, const char *);
 
+#ifdef CONFIG_JFS_SECURITY
+extern int jfs_init_security(tid_t, struct inode *, struct inode *);
+#else
+static inline int jfs_init_security(tid_t tid, struct inode *inode,
+                                   struct inode *dir)
+{
+       return 0;
+}
+#endif
+
 #endif /* H_JFS_XATTR */