]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9727caac5962d82d491d9cbdd908a72c2e4334b2
tree6305da2de8724fa4d62e8988aa766c94ad86f548
parent5323b6db4924d1e433b2623bfe4dd24458864fd3
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