ceph_common.c (94bd217e2d683719ab21a4ac117d8a1b91cbedc9) | ceph_common.c (1cad78932a0d139dceff78e68808e160a224d57a) |
---|---|
1 2#include <linux/ceph/ceph_debug.h> 3#include <linux/backing-dev.h> 4#include <linux/ctype.h> 5#include <linux/fs.h> 6#include <linux/inet.h> 7#include <linux/in6.h> 8#include <linux/key.h> --- 218 unchanged lines hidden (view full) --- 227void ceph_destroy_options(struct ceph_options *opt) 228{ 229 dout("destroy_options %p\n", opt); 230 kfree(opt->name); 231 if (opt->key) { 232 ceph_crypto_key_destroy(opt->key); 233 kfree(opt->key); 234 } | 1 2#include <linux/ceph/ceph_debug.h> 3#include <linux/backing-dev.h> 4#include <linux/ctype.h> 5#include <linux/fs.h> 6#include <linux/inet.h> 7#include <linux/in6.h> 8#include <linux/key.h> --- 218 unchanged lines hidden (view full) --- 227void ceph_destroy_options(struct ceph_options *opt) 228{ 229 dout("destroy_options %p\n", opt); 230 kfree(opt->name); 231 if (opt->key) { 232 ceph_crypto_key_destroy(opt->key); 233 kfree(opt->key); 234 } |
235 kfree(opt->mon_addr); |
|
235 kfree(opt); 236} 237EXPORT_SYMBOL(ceph_destroy_options); 238 239/* get secret from key store */ 240static int get_secret(struct ceph_crypto_key *dst, const char *name) { 241 struct key *ukey; 242 int key_err; --- 380 unchanged lines hidden --- | 236 kfree(opt); 237} 238EXPORT_SYMBOL(ceph_destroy_options); 239 240/* get secret from key store */ 241static int get_secret(struct ceph_crypto_key *dst, const char *name) { 242 struct key *ukey; 243 int key_err; --- 380 unchanged lines hidden --- |