Searched hist:f172393952a8771ca8970b8fcdd332a5a6ea0f56 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/btrfs/ |
H A D | backref.c | diff f172393952a8771ca8970b8fcdd332a5a6ea0f56 Fri Mar 29 18:03:21 CDT 2013 Wang Shilong <wangsl-fnst@cn.fujitsu.com> Btrfs: kill some BUG_ONs() in the find_parent_nodes()
The reason that BUG_ON() happens in these places is just because of ENOMEM.
We try ro return ENOMEM rather than trigger BUG_ON(), the caller will abort the transaction thus avoiding the kernel panic.
Signed-off-by: Wang Shilong <wangsl-fnst@cn.fujitsu.com> Reviewed-by: Miao Xie <miaox@cn.fujitsu.com> Reviewed-by: Jan Schmidt <list.btrfs@jan-o-sch.net> Signed-off-by: Josef Bacik <jbacik@fusionio.com>
|