]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Btrfs: return ENOMEM rather than use BUG_ON when btrfs_alloc_path fails
authorWang Shilong <wangsl-fnst@cn.fujitsu.com>
Wed, 27 Feb 2013 11:20:56 +0000 (11:20 +0000)
committerJosef Bacik <jbacik@fusionio.com>
Fri, 1 Mar 2013 15:13:04 +0000 (10:13 -0500)
commit84cbe2f725f59b72fffb48ab7161e771eeee5103
tree5014eb497d28c75cbeb2784f7078a4bde5cb7008
parent06b3a860dcf596bdc2bb1cca3252d3907b581938
Btrfs: return ENOMEM rather than use BUG_ON when btrfs_alloc_path fails

Return ENOMEM rather trigger BUG_ON, fix it.

Signed-off-by: Wang Shilong <wangsl-fnst@cn.fujitsu.com>
Reviewed-by: Miao Xie <miaox@cn.fujitsu.com>
Reviewed-by: Zach Brown <zab@redhat.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/qgroup.c