diff options
author | Ilya Dryomov <idryomov@gmail.com> | 2017-03-03 18:16:07 +0100 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2017-05-04 09:19:18 +0200 |
commit | 74da4a0f574d11ed60dbe50a1e5e942e20476590 (patch) | |
tree | 3e3097c0230adfb1d6d75d462c719bfb064df0d0 /drivers/block | |
parent | a351e9b9fc24e982ec2f0e76379a49826036da12 (diff) | |
download | linux-74da4a0f574d11ed60dbe50a1e5e942e20476590.tar.gz linux-74da4a0f574d11ed60dbe50a1e5e942e20476590.tar.bz2 linux-74da4a0f574d11ed60dbe50a1e5e942e20476590.zip |
libceph, ceph: always advertise all supported features
No reason to hide CephFS-specific features in the rbd case. Recent
feature bits mix RADOS and CephFS-specific stuff together anyway.
Signed-off-by: Ilya Dryomov <idryomov@gmail.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 517838b65964..16010183b703 100644 --- a/drivers/block/rbd.c +++ b/drivers/block/rbd.c @@ -731,7 +731,7 @@ static struct rbd_client *rbd_client_create(struct ceph_options *ceph_opts) kref_init(&rbdc->kref); INIT_LIST_HEAD(&rbdc->node); - rbdc->client = ceph_create_client(ceph_opts, rbdc, 0, 0); + rbdc->client = ceph_create_client(ceph_opts, rbdc); if (IS_ERR(rbdc->client)) goto out_rbdc; ceph_opts = NULL; /* Now rbdc->client is responsible for ceph_opts */ |