aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/reiserfs_xattr.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/reiserfs_xattr.h')
-rw-r--r--include/linux/reiserfs_xattr.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/reiserfs_xattr.h b/include/linux/reiserfs_xattr.h
index af135ae895db..58f32ba7f5a0 100644
--- a/include/linux/reiserfs_xattr.h
+++ b/include/linux/reiserfs_xattr.h
@@ -44,7 +44,6 @@ struct reiserfs_xattr_handler {
44}; 44};
45 45
46#ifdef CONFIG_REISERFS_FS_XATTR 46#ifdef CONFIG_REISERFS_FS_XATTR
47#define is_reiserfs_priv_object(inode) IS_PRIVATE(inode)
48#define has_xattr_dir(inode) (REISERFS_I(inode)->i_flags & i_has_xattr_dir) 47#define has_xattr_dir(inode) (REISERFS_I(inode)->i_flags & i_has_xattr_dir)
49ssize_t reiserfs_getxattr(struct dentry *dentry, const char *name, 48ssize_t reiserfs_getxattr(struct dentry *dentry, const char *name,
50 void *buffer, size_t size); 49 void *buffer, size_t size);
@@ -104,11 +103,6 @@ static inline void reiserfs_read_unlock_xattr_i(struct inode *inode)
104 up_read(&REISERFS_I(inode)->xattr_sem); 103 up_read(&REISERFS_I(inode)->xattr_sem);
105} 104}
106 105
107static inline void reiserfs_mark_inode_private(struct inode *inode)
108{
109 inode->i_flags |= S_PRIVATE;
110}
111
112static inline void reiserfs_init_xattr_rwsem(struct inode *inode) 106static inline void reiserfs_init_xattr_rwsem(struct inode *inode)
113{ 107{
114 init_rwsem(&REISERFS_I(inode)->xattr_sem); 108 init_rwsem(&REISERFS_I(inode)->xattr_sem);
@@ -116,8 +110,6 @@ static inline void reiserfs_init_xattr_rwsem(struct inode *inode)
116 110
117#else 111#else
118 112
119#define is_reiserfs_priv_object(inode) 0
120#define reiserfs_mark_inode_private(inode) do {;} while(0)
121#define reiserfs_getxattr NULL 113#define reiserfs_getxattr NULL
122#define reiserfs_setxattr NULL 114#define reiserfs_setxattr NULL
123#define reiserfs_listxattr NULL 115#define reiserfs_listxattr NULL