projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed98ada
)
ceph: fix leak of mon authorizer
author
Sage Weil
<sage@newdream.net>
Mon, 5 Jul 2010 22:36:49 +0000
(15:36 -0700)
committer
Sage Weil
<sage@newdream.net>
Mon, 5 Jul 2010 22:36:49 +0000
(15:36 -0700)
Fix leak of a struct ceph_buffer on umount.
Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/auth_x.c
patch
|
blob
|
history
diff --git
a/fs/ceph/auth_x.c
b/fs/ceph/auth_x.c
index
3fe4904
..
6d44053
100644
(file)
--- a/
fs/ceph/auth_x.c
+++ b/
fs/ceph/auth_x.c
@@
-613,6
+613,9
@@
static void ceph_x_destroy(struct ceph_auth_client *ac)
remove_ticket_handler(ac, th);
}
+ if (xi->auth_authorizer.buf)
+ ceph_buffer_put(xi->auth_authorizer.buf);
+
kfree(ac->private);
ac->private = NULL;
}