diff options
Diffstat (limited to 'fs/btrfs/xattr.h')
| -rw-r--r-- | fs/btrfs/xattr.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/fs/btrfs/xattr.h b/fs/btrfs/xattr.h index 1cd3fc0a8f17..0ce10e4ec836 100644 --- a/fs/btrfs/xattr.h +++ b/fs/btrfs/xattr.h @@ -6,11 +6,17 @@ #ifndef BTRFS_XATTR_H #define BTRFS_XATTR_H -#include <linux/xattr.h> +#include <linux/types.h> -extern const struct xattr_handler *btrfs_xattr_handlers[]; +struct dentry; +struct inode; +struct qstr; +struct xattr_handler; +struct btrfs_trans_handle; -int btrfs_getxattr(struct inode *inode, const char *name, +extern const struct xattr_handler * const btrfs_xattr_handlers[]; + +int btrfs_getxattr(const struct inode *inode, const char *name, void *buffer, size_t size); int btrfs_setxattr(struct btrfs_trans_handle *trans, struct inode *inode, const char *name, const void *value, size_t size, int flags); |
