summaryrefslogtreecommitdiffstats
path: root/include/linux/reiserfs_fs_i.h
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2006-09-29 01:59:58 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-09-29 09:18:11 -0700
commit068fbb315dd1e9dd3418aac39a9cfeabe39c16a6 (patch)
tree200b12fa1145f7876ddd10e6871c1a1652f90189 /include/linux/reiserfs_fs_i.h
parente6cab99bb478e067b1a7a120333ff326954a2412 (diff)
downloadop-kernel-dev-068fbb315dd1e9dd3418aac39a9cfeabe39c16a6.zip
op-kernel-dev-068fbb315dd1e9dd3418aac39a9cfeabe39c16a6.tar.gz
[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 149be8d..711e7e7 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;
};
OpenPOWER on IntegriCloud