summaryrefslogtreecommitdiff
path: root/fs/btrfs/extent_io.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2017-02-17 19:42:43 +0100
committerDavid Sterba <dsterba@suse.com>2017-02-28 14:27:11 +0100
commitb9d04c607c21fafe0a346792d0d358e7ab9a768e (patch)
tree1f6ab876f9759503b17c6e1fa97af8c38938251e /fs/btrfs/extent_io.c
parentfa2529923d3bc5f0b39ff7a7c52be74c4aea6f2a (diff)
btrfs: do proper error handling in btrfs_insert_xattr_item
The space check in btrfs_insert_xattr_item is duplicated in it's caller (do_setxattr) so we won't hit the BUG_ON. Continuing without any check could be disasterous so turn it to a proper error handling. Reviewed-by: Liu Bo <bo.li.liu@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/extent_io.c')
0 files changed, 0 insertions, 0 deletions