]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: handle kzalloc() failure in open_ctree()
authorDan Carpenter <error27@gmail.com>
Sat, 29 May 2010 09:43:07 +0000 (09:43 +0000)
committerChris Mason <chris.mason@oracle.com>
Fri, 11 Jun 2010 19:57:34 +0000 (15:57 -0400)
commit837416d226d63029475d4dbd5c70e198140a7918
treeb39173542a91c008d54d1acf6463b874793accee
parent7817b9231d432b62bb80e66a942c5f3ea29d24d5
Btrfs: handle kzalloc() failure in open_ctree()

Unwind and return -ENOMEM if the allocation fails here.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/disk-io.c