]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
btrfs: adjust return type of btrfs_getxattr
authorDavid Sterba <dsterba@suse.com>
Tue, 27 Feb 2018 14:48:57 +0000 (15:48 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 26 Mar 2018 13:09:41 +0000 (15:09 +0200)
commitbcadd7050a43216e6ace936c23b4055fb5966ca1
treefa09542e27ec4848f8e20bd330a01ea7f2d05670
parentab0d09361662b7593fe166d27ad49b8852a2ef3e
btrfs: adjust return type of btrfs_getxattr

The xattr_handler::get prototype returns int, use it. The only ssize_t
exception is the per-inode listxattr handler.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/xattr.c
fs/btrfs/xattr.h