btrfs: introduce _in_rcu variants of message printing functions
[linux-2.6/btrfs-unstable.git] / fs / hfsplus / xattr.h
blobf9b0955b3d281ee93deedf398905bf1c1c64469d
1 /*
2 * linux/fs/hfsplus/xattr.h
4 * Vyacheslav Dubeyko <slava@dubeyko.com>
6 * Logic of processing extended attributes
7 */
9 #ifndef _LINUX_HFSPLUS_XATTR_H
10 #define _LINUX_HFSPLUS_XATTR_H
12 #include <linux/xattr.h>
14 extern const struct xattr_handler hfsplus_xattr_osx_handler;
15 extern const struct xattr_handler hfsplus_xattr_user_handler;
16 extern const struct xattr_handler hfsplus_xattr_trusted_handler;
17 extern const struct xattr_handler hfsplus_xattr_security_handler;
19 extern const struct xattr_handler *hfsplus_xattr_handlers[];
21 int __hfsplus_setxattr(struct inode *inode, const char *name,
22 const void *value, size_t size, int flags);
24 int hfsplus_setxattr(struct dentry *dentry, const char *name,
25 const void *value, size_t size, int flags,
26 const char *prefix, size_t prefixlen);
28 ssize_t __hfsplus_getxattr(struct inode *inode, const char *name,
29 void *value, size_t size);
31 ssize_t hfsplus_getxattr(struct dentry *dentry, const char *name,
32 void *value, size_t size,
33 const char *prefix, size_t prefixlen);
35 ssize_t hfsplus_listxattr(struct dentry *dentry, char *buffer, size_t size);
37 int hfsplus_init_security(struct inode *inode, struct inode *dir,
38 const struct qstr *qstr);
40 int hfsplus_init_inode_security(struct inode *inode, struct inode *dir,
41 const struct qstr *qstr);
43 #endif