diff options
-rw-r--r-- | fs/ext3/xattr.c | 4 | ||||
-rw-r--r-- | fs/ext3/xattr.h | 7 |
2 files changed, 3 insertions, 8 deletions
diff --git a/fs/ext3/xattr.c b/fs/ext3/xattr.c index 42856541e9a5..8516831709b8 100644 --- a/fs/ext3/xattr.c +++ b/fs/ext3/xattr.c | |||
@@ -99,6 +99,8 @@ static struct buffer_head *ext3_xattr_cache_find(struct inode *, | |||
99 | struct mb_cache_entry **); | 99 | struct mb_cache_entry **); |
100 | static void ext3_xattr_rehash(struct ext3_xattr_header *, | 100 | static void ext3_xattr_rehash(struct ext3_xattr_header *, |
101 | struct ext3_xattr_entry *); | 101 | struct ext3_xattr_entry *); |
102 | static int ext3_xattr_list(struct inode *inode, char *buffer, | ||
103 | size_t buffer_size); | ||
102 | 104 | ||
103 | static struct mb_cache *ext3_xattr_cache; | 105 | static struct mb_cache *ext3_xattr_cache; |
104 | 106 | ||
@@ -427,7 +429,7 @@ cleanup: | |||
427 | * Returns a negative error number on failure, or the number of bytes | 429 | * Returns a negative error number on failure, or the number of bytes |
428 | * used / required on success. | 430 | * used / required on success. |
429 | */ | 431 | */ |
430 | int | 432 | static int |
431 | ext3_xattr_list(struct inode *inode, char *buffer, size_t buffer_size) | 433 | ext3_xattr_list(struct inode *inode, char *buffer, size_t buffer_size) |
432 | { | 434 | { |
433 | int i_error, b_error; | 435 | int i_error, b_error; |
diff --git a/fs/ext3/xattr.h b/fs/ext3/xattr.h index 6b1ae1c6182c..148a4dfc82ab 100644 --- a/fs/ext3/xattr.h +++ b/fs/ext3/xattr.h | |||
@@ -67,7 +67,6 @@ extern struct xattr_handler ext3_xattr_security_handler; | |||
67 | extern ssize_t ext3_listxattr(struct dentry *, char *, size_t); | 67 | extern ssize_t ext3_listxattr(struct dentry *, char *, size_t); |
68 | 68 | ||
69 | extern int ext3_xattr_get(struct inode *, int, const char *, void *, size_t); | 69 | extern int ext3_xattr_get(struct inode *, int, const char *, void *, size_t); |
70 | extern int ext3_xattr_list(struct inode *, char *, size_t); | ||
71 | extern int ext3_xattr_set(struct inode *, int, const char *, const void *, size_t, int); | 70 | extern int ext3_xattr_set(struct inode *, int, const char *, const void *, size_t, int); |
72 | extern int ext3_xattr_set_handle(handle_t *, struct inode *, int, const char *, const void *, size_t, int); | 71 | extern int ext3_xattr_set_handle(handle_t *, struct inode *, int, const char *, const void *, size_t, int); |
73 | 72 | ||
@@ -89,12 +88,6 @@ ext3_xattr_get(struct inode *inode, int name_index, const char *name, | |||
89 | } | 88 | } |
90 | 89 | ||
91 | static inline int | 90 | static inline int |
92 | ext3_xattr_list(struct inode *inode, void *buffer, size_t size) | ||
93 | { | ||
94 | return -EOPNOTSUPP; | ||
95 | } | ||
96 | |||
97 | static inline int | ||
98 | ext3_xattr_set(struct inode *inode, int name_index, const char *name, | 91 | ext3_xattr_set(struct inode *inode, int name_index, const char *name, |
99 | const void *value, size_t size, int flags) | 92 | const void *value, size_t size, int flags) |
100 | { | 93 | { |