Btrfs: check return value of ulist_alloc() properly
authorTsutomu Itoh <t-itoh@jp.fujitsu.com>
Thu, 6 Sep 2012 06:18:10 +0000 (00:18 -0600)
committerChris Mason <chris.mason@fusionio.com>
Mon, 1 Oct 2012 19:19:14 +0000 (15:19 -0400)
commit3d6b5c3b5c0b970ce8a9d3bac6854f5c0ce0295a
treeaadfc9ad81660e5ef11121a4529213e8cd1062de
parentf54fb859da53f04a443c5e3f4cb9b936ed42d227
Btrfs: check return value of ulist_alloc() properly

ulist_alloc() has the possibility of returning NULL.
So, it is necessary to check the return value.

Signed-off-by: Tsutomu Itoh <t-itoh@jp.fujitsu.com>
fs/btrfs/qgroup.c