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)
commit676e4c86391936795c82ccd11ca9671ee6307936
treeb39173542a91c008d54d1acf6463b874793accee
parentfb4f6f910ca6f58564c31a680ef88940d8192713
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