diff options
author | Omar Sandoval <osandov@fb.com> | 2018-05-11 13:13:31 -0700 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-05-28 18:23:45 +0200 |
commit | 0552210997badb6a60740a26ff9d976a416510f0 (patch) | |
tree | 2973881ba93885161e2cde31cf709b3d0473b7b2 /sound/usb/pcm.c | |
parent | fd86a3a31506fe4602ad056bc06a16f20e8eb30f (diff) | |
download | lwn-0552210997badb6a60740a26ff9d976a416510f0.tar.gz lwn-0552210997badb6a60740a26ff9d976a416510f0.zip |
Btrfs: don't BUG_ON() in btrfs_truncate_inode_items()
btrfs_free_extent() can fail because of ENOMEM. There's no reason to
panic here, we can just abort the transaction.
Fixes: f4b9aa8d3b87 ("btrfs_truncate")
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Omar Sandoval <osandov@fb.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'sound/usb/pcm.c')
0 files changed, 0 insertions, 0 deletions