diff options
author | Alex Elder <elder@inktank.com> | 2012-09-01 00:29:55 +0200 |
---|---|---|
committer | Alex Elder <elder@inktank.com> | 2012-10-10 16:44:01 +0200 |
commit | 35152979e6181b1fbb4b61c3ff641c14df53ad66 (patch) | |
tree | 3fa6e0391c7e374646612ff0aa88cab9d5d74837 /drivers/block | |
parent | rbd: implement feature checks (diff) | |
download | linux-35152979e6181b1fbb4b61c3ff641c14df53ad66.tar.xz linux-35152979e6181b1fbb4b61c3ff641c14df53ad66.zip |
rbd: activate v2 image support
Now that v2 images support is fully implemented, have
rbd_dev_v2_probe() return 0 to indicate a successful probe.
(Note that an image that implements layering will fail
the probe early because of the feature chekc.)
Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'drivers/block')
-rw-r--r-- | drivers/block/rbd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/rbd.c b/drivers/block/rbd.c index 0f260a6e97c4..8f56d37637a7 100644 --- a/drivers/block/rbd.c +++ b/drivers/block/rbd.c @@ -3014,7 +3014,7 @@ static int rbd_dev_v2_probe(struct rbd_device *rbd_dev) dout("discovered version 2 image, header name is %s\n", rbd_dev->header_name); - return -ENOTSUPP; + return 0; out_err: kfree(rbd_dev->header_name); rbd_dev->header_name = NULL; |