diff options
Diffstat (limited to 'include/linux/reiserfs_xattr.h')
-rw-r--r-- | include/linux/reiserfs_xattr.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/include/linux/reiserfs_xattr.h b/include/linux/reiserfs_xattr.h index 65c16fa51246..3bd154fd56e9 100644 --- a/include/linux/reiserfs_xattr.h +++ b/include/linux/reiserfs_xattr.h | |||
@@ -67,24 +67,6 @@ extern struct reiserfs_xattr_handler user_handler; | |||
67 | extern struct reiserfs_xattr_handler trusted_handler; | 67 | extern struct reiserfs_xattr_handler trusted_handler; |
68 | extern struct reiserfs_xattr_handler security_handler; | 68 | extern struct reiserfs_xattr_handler security_handler; |
69 | 69 | ||
70 | static inline void reiserfs_write_lock_xattr_i(struct inode *inode) | ||
71 | { | ||
72 | down_write(&REISERFS_I(inode)->i_xattr_sem); | ||
73 | } | ||
74 | static inline void reiserfs_write_unlock_xattr_i(struct inode *inode) | ||
75 | { | ||
76 | up_write(&REISERFS_I(inode)->i_xattr_sem); | ||
77 | } | ||
78 | static inline void reiserfs_read_lock_xattr_i(struct inode *inode) | ||
79 | { | ||
80 | down_read(&REISERFS_I(inode)->i_xattr_sem); | ||
81 | } | ||
82 | |||
83 | static inline void reiserfs_read_unlock_xattr_i(struct inode *inode) | ||
84 | { | ||
85 | up_read(&REISERFS_I(inode)->i_xattr_sem); | ||
86 | } | ||
87 | |||
88 | static inline void reiserfs_init_xattr_rwsem(struct inode *inode) | 70 | static inline void reiserfs_init_xattr_rwsem(struct inode *inode) |
89 | { | 71 | { |
90 | init_rwsem(&REISERFS_I(inode)->i_xattr_sem); | 72 | init_rwsem(&REISERFS_I(inode)->i_xattr_sem); |
@@ -96,10 +78,6 @@ static inline void reiserfs_init_xattr_rwsem(struct inode *inode) | |||
96 | #define reiserfs_setxattr NULL | 78 | #define reiserfs_setxattr NULL |
97 | #define reiserfs_listxattr NULL | 79 | #define reiserfs_listxattr NULL |
98 | #define reiserfs_removexattr NULL | 80 | #define reiserfs_removexattr NULL |
99 | #define reiserfs_write_lock_xattrs(sb) do {;} while(0) | ||
100 | #define reiserfs_write_unlock_xattrs(sb) do {;} while(0) | ||
101 | #define reiserfs_read_lock_xattrs(sb) | ||
102 | #define reiserfs_read_unlock_xattrs(sb) | ||
103 | 81 | ||
104 | #define reiserfs_permission NULL | 82 | #define reiserfs_permission NULL |
105 | 83 | ||