diff options
author | 2017-02-17 19:42:43 +0100 | |
---|---|---|
committer | 2017-02-28 14:27:11 +0100 | |
commit | b9d04c607c21fafe0a346792d0d358e7ab9a768e (patch) | |
tree | 1f6ab876f9759503b17c6e1fa97af8c38938251e /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | btrfs: handle allocation error in update_dev_stat_item (diff) | |
download | wireguard-linux-b9d04c607c21fafe0a346792d0d358e7ab9a768e.tar.xz wireguard-linux-b9d04c607c21fafe0a346792d0d358e7ab9a768e.zip |
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 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions