summaryrefslogtreecommitdiffstats
path: root/include/linux/reiserfs_fs_i.h
diff options
context:
space:
mode:
authorAlexey Dobriyan2006-09-29 10:59:58 +0200
committerLinus Torvalds2006-09-29 18:18:11 +0200
commit068fbb315dd1e9dd3418aac39a9cfeabe39c16a6 (patch)
tree200b12fa1145f7876ddd10e6871c1a1652f90189 /include/linux/reiserfs_fs_i.h
parent[PATCH] unwind: fix unused variable warning when !CONFIG_MODULES (diff)
downloadkernel-qcow2-linux-068fbb315dd1e9dd3418aac39a9cfeabe39c16a6.tar.gz
kernel-qcow2-linux-068fbb315dd1e9dd3418aac39a9cfeabe39c16a6.tar.xz
kernel-qcow2-linux-068fbb315dd1e9dd3418aac39a9cfeabe39c16a6.zip
[PATCH] reiserfs: ifdef xattr_sem
Shrink reiserfs inode by 12 bytes for xattr non-users (me). -reiser_inode_cache 356 11 +reiser_inode_cache 344 11 Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Cc: <reiserfs-dev@namesys.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/reiserfs_fs_i.h')
-rw-r--r--include/linux/reiserfs_fs_i.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/reiserfs_fs_i.h b/include/linux/reiserfs_fs_i.h
index 149be8d9a0c9..711e7e7cafa5 100644
--- a/include/linux/reiserfs_fs_i.h
+++ b/include/linux/reiserfs_fs_i.h
@@ -55,7 +55,9 @@ struct reiserfs_inode_info {
struct posix_acl *i_acl_access;
struct posix_acl *i_acl_default;
+#ifdef CONFIG_REISERFS_FS_XATTR
struct rw_semaphore xattr_sem;
+#endif
struct inode vfs_inode;
};