btrfs: return -ENOMEM on allocation failure in btrfsic
authorAllen Pais <allen.lkml@gmail.com>
Wed, 20 Sep 2017 06:17:46 +0000 (11:47 +0530)
committerDavid Sterba <dsterba@suse.com>
Mon, 30 Oct 2017 11:27:57 +0000 (12:27 +0100)
commit3afb0c501414aa3c4a7cfea9ae1a0acfbf7be14f
tree6305da2de8724fa4d62e8988aa766c94ad86f548
parent6939f667247ed792535c0697a99f600d6770f127
btrfs: return -ENOMEM on allocation failure in btrfsic

Forward the correct return value -ENOMEM from btrfsic_dev_state_alloc()
too.

Signed-off-by: Allen Pais <allen.lkml@gmail.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
[ adjust changelog ]
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/check-integrity.c