diff options
author | Sage Weil <sage@redhat.com> | 2018-08-11 18:52:25 +0200 |
---|---|---|
committer | Sage Weil <sage@redhat.com> | 2018-08-31 16:26:19 +0200 |
commit | 0d0e7c2192d09673cc5091f49921dbf9387f8208 (patch) | |
tree | 3e92bc94ef7c0c5ca8e6ab3fd4f2523121ae366e /src/librados/RadosClient.cc | |
parent | ceph-authtool: remove auid options (diff) | |
download | ceph-0d0e7c2192d09673cc5091f49921dbf9387f8208.tar.xz ceph-0d0e7c2192d09673cc5091f49921dbf9387f8208.zip |
osdc/Objecter: do not pass auid to create_pool
Signed-off-by: Sage Weil <sage@redhat.com>
Diffstat (limited to 'src/librados/RadosClient.cc')
-rw-r--r-- | src/librados/RadosClient.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librados/RadosClient.cc b/src/librados/RadosClient.cc index 58c24c42f25..6ad5d3780a0 100644 --- a/src/librados/RadosClient.cc +++ b/src/librados/RadosClient.cc @@ -720,7 +720,7 @@ int librados::RadosClient::pool_create(string& name, unsigned long long auid, Cond cond; bool done; Context *onfinish = new C_SafeCond(&mylock, &cond, &done, &reply); - reply = objecter->create_pool(name, onfinish, auid, crush_rule); + reply = objecter->create_pool(name, onfinish, crush_rule); if (reply < 0) { delete onfinish; @@ -742,7 +742,7 @@ int librados::RadosClient::pool_create_async(string& name, PoolAsyncCompletionIm return r; Context *onfinish = new C_PoolAsync_Safe(c); - r = objecter->create_pool(name, onfinish, auid, crush_rule); + r = objecter->create_pool(name, onfinish, crush_rule); if (r < 0) { delete onfinish; } |