diff options
Diffstat (limited to 'fs/hfsplus/xattr.h')
| -rw-r--r-- | fs/hfsplus/xattr.h | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/fs/hfsplus/xattr.h b/fs/hfsplus/xattr.h index 288530cf80b5..f9b0955b3d28 100644 --- a/fs/hfsplus/xattr.h +++ b/fs/hfsplus/xattr.h | |||
| @@ -21,22 +21,16 @@ extern const struct xattr_handler *hfsplus_xattr_handlers[]; | |||
| 21 | int __hfsplus_setxattr(struct inode *inode, const char *name, | 21 | int __hfsplus_setxattr(struct inode *inode, const char *name, |
| 22 | const void *value, size_t size, int flags); | 22 | const void *value, size_t size, int flags); |
| 23 | 23 | ||
| 24 | static inline int hfsplus_setxattr(struct dentry *dentry, const char *name, | 24 | int hfsplus_setxattr(struct dentry *dentry, const char *name, |
| 25 | const void *value, size_t size, int flags) | 25 | const void *value, size_t size, int flags, |
| 26 | { | 26 | const char *prefix, size_t prefixlen); |
| 27 | return __hfsplus_setxattr(dentry->d_inode, name, value, size, flags); | ||
| 28 | } | ||
| 29 | 27 | ||
| 30 | ssize_t __hfsplus_getxattr(struct inode *inode, const char *name, | 28 | ssize_t __hfsplus_getxattr(struct inode *inode, const char *name, |
| 31 | void *value, size_t size); | 29 | void *value, size_t size); |
| 32 | 30 | ||
| 33 | static inline ssize_t hfsplus_getxattr(struct dentry *dentry, | 31 | ssize_t hfsplus_getxattr(struct dentry *dentry, const char *name, |
| 34 | const char *name, | 32 | void *value, size_t size, |
| 35 | void *value, | 33 | const char *prefix, size_t prefixlen); |
| 36 | size_t size) | ||
| 37 | { | ||
| 38 | return __hfsplus_getxattr(dentry->d_inode, name, value, size); | ||
| 39 | } | ||
| 40 | 34 | ||
| 41 | ssize_t hfsplus_listxattr(struct dentry *dentry, char *buffer, size_t size); | 35 | ssize_t hfsplus_listxattr(struct dentry *dentry, char *buffer, size_t size); |
| 42 | 36 | ||
