diff --git a/fs/btrfs/xattr.c b/fs/btrfs/xattr.c index 414ccbe26c71594befe6edd860469c40e60d8a93..e1e8177deb5e6531508c750b588e937764ed90cf 100644 --- a/fs/btrfs/xattr.c +++ b/fs/btrfs/xattr.c @@ -33,7 +33,7 @@ #include "locking.h" -ssize_t btrfs_getxattr(struct inode *inode, const char *name, +int btrfs_getxattr(struct inode *inode, const char *name, void *buffer, size_t size) { struct btrfs_dir_item *di; diff --git a/fs/btrfs/xattr.h b/fs/btrfs/xattr.h index 96e6f3a304d384a10c6dc86e7935281e1f45ccc8..57c63873061792c3ba0d321db04e7f8057bf4870 100644 --- a/fs/btrfs/xattr.h +++ b/fs/btrfs/xattr.h @@ -23,7 +23,7 @@ extern const struct xattr_handler *btrfs_xattr_handlers[]; -ssize_t btrfs_getxattr(struct inode *inode, const char *name, +int btrfs_getxattr(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,