]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: check error before reporting missing device and add uuid
authorAnand Jain <Anand.Jain@oracle.com>
Thu, 7 May 2015 20:34:35 +0000 (04:34 +0800)
committerChris Mason <clm@fb.com>
Wed, 3 Jun 2015 02:34:35 +0000 (19:34 -0700)
commit27c344cec2011dee5812a611b7b87b3b3f7c1bbb
tree8d6bcad7d71e777253b1ab1890900b7ef8938efd
parent84b8b93caf4f5966b6fe9f5c49e1b00cadb3150d
Btrfs: check error before reporting missing device and add uuid

Report missing device when add is successful,
otherwise it would exit as ENOMEM. And add uuid
to the report.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/volumes.c