projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4d2b16
)
rbd: destroy header_oloc in rbd_dev_release()
author
Ilya Dryomov
<idryomov@gmail.com>
Fri, 5 Aug 2016 14:15:38 +0000
(16:15 +0200)
committer
Ilya Dryomov
<idryomov@gmail.com>
Mon, 8 Aug 2016 19:41:44 +0000
(21:41 +0200)
Purely cosmetic at this point, as rbd doesn't use RADOS namespaces and
hence rbd_dev->header_oloc->pool_ns is always NULL.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
drivers/block/rbd.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/block/rbd.c
b/drivers/block/rbd.c
index 1a04af6d24212cdd16e5c8091d01f16e2b409384..07668a6f0607705c1659f4493ebde32d7e388cac 100644
(file)
--- a/
drivers/block/rbd.c
+++ b/
drivers/block/rbd.c
@@
-3950,6
+3950,7
@@
static void rbd_dev_release(struct device *dev)
bool need_put = !!rbd_dev->opts;
ceph_oid_destroy(&rbd_dev->header_oid);
+ ceph_oloc_destroy(&rbd_dev->header_oloc);
rbd_put_client(rbd_dev->rbd_client);
rbd_spec_put(rbd_dev->spec);