projects
/
GitHub
/
LineageOS
/
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:
74cd650
)
greybus: es1: fix debugfs dentry leak
author
Johan Hovold
<johan@hovoldconsulting.com>
Wed, 4 Nov 2015 17:55:19 +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/es1.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/greybus/es1.c
b/drivers/staging/greybus/es1.c
index ddca5f9ba74cfda10cb741d333fc3c335268690d..30477690e54e07e07581ce76e94f706bdd8b4ca4 100644
(file)
--- a/
drivers/staging/greybus/es1.c
+++ b/
drivers/staging/greybus/es1.c
@@
-372,6
+372,7
@@
static void ap_disconnect(struct usb_interface *interface)
for (i = 0; i < NUM_CPORT_IN_URB; ++i)
usb_kill_urb(es1->cport_in_urb[i]);
+ debugfs_remove(apb1_log_enable_dentry);
usb_log_disable(es1);
/* Tear down everything! */