projects
/
platform
/
kernel
/
linux-rpi3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
715d7a7
)
greybus: es2: fix debugfs dentry leak
author
Johan Hovold
<johan@hovoldconsulting.com>
Wed, 4 Nov 2015 17:55:18 +0000
(18:55 +0100)
committer
Greg Kroah-Hartman
<gregkh@google.com>
Thu, 5 Nov 2015 04:35:18 +0000
(20:35 -0800)
Fix dentry leak due to failure to remove debugfs file.
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/es2.c
patch
|
blob
|
history
diff --git
a/drivers/staging/greybus/es2.c
b/drivers/staging/greybus/es2.c
index
75052af
..
18cfcd6
100644
(file)
--- a/
drivers/staging/greybus/es2.c
+++ b/
drivers/staging/greybus/es2.c
@@
-562,6
+562,7
@@
static void ap_disconnect(struct usb_interface *interface)
for (i = 0; i < NUM_BULKS; ++i)
es2_cport_in_disable(es2, &es2->cport_in[i]);
+ debugfs_remove(es2->apb_log_enable_dentry);
usb_log_disable(es2);
/* Tear down everything! */