git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] ext2: Enable atomic inode security labeling
[safe/jmp/linux-2.6]
/
fs
/
ext2
/
xattr.h
diff --git
a/fs/ext2/xattr.h
b/fs/ext2/xattr.h
index
5f3bfde
..
67cfeb6
100644
(file)
--- a/
fs/ext2/xattr.h
+++ b/
fs/ext2/xattr.h
@@
-116,3
+116,11
@@
exit_ext2_xattr(void)
# endif /* CONFIG_EXT2_FS_XATTR */
# 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