summaryrefslogtreecommitdiff
path: root/crypto/aead.c
diff options
context:
space:
mode:
authorWang Shilong <wangsl-fnst@cn.fujitsu.com>2013-03-30 03:03:21 +0400
committerJosef Bacik <jbacik@fusionio.com>2013-05-06 23:54:30 +0400
commitf172393952a8771ca8970b8fcdd332a5a6ea0f56 (patch)
treec7efbf55501297e39f967660657dd7f29f753eac /crypto/aead.c
parent41b0fc42800569f63e029549b75c4c9cb63f2dfd (diff)
downloadlinux-f172393952a8771ca8970b8fcdd332a5a6ea0f56.tar.xz
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>
Diffstat (limited to 'crypto/aead.c')
0 files changed, 0 insertions, 0 deletions