]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit26ed4be0740ab3a1acc7ca96fa046f8102586dea
treeaadfc9ad81660e5ef11121a4529213e8cd1062de
parent9bc81458d0529d24b35edea67ed0beb9ca169a53
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