]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: change bdev parse error to ENOENT 20326/head
authorSage Weil <sage@redhat.com>
Wed, 24 Jan 2018 03:07:08 +0000 (21:07 -0600)
committerAbhishek Lekshmanan <abhishek@suse.com>
Mon, 5 Feb 2018 18:23:30 +0000 (19:23 +0100)
commit91673b1edfd3d4023d77eb95801db6acf7f900f9
treea803f16618fb1f5750a46795ba0349c54c27f7c3
parent9c083ea16b02c4daef444629439247a415c557c7
os/bluestore: change bdev parse error to ENOENT

If there is not a valid label, then the label is not found.  This is a
more reasonable error code than "Invalid argumnet".

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 5cd98b0dfdc7758761ff789b12faca2266a7e128)
src/os/bluestore/BlueStore.cc