projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e1f1de
)
usb: remove bad dput after dentry_unhash
author
Sage Weil
<
[email protected]
>
Tue, 31 May 2011 16:11:11 +0000
(09:11 -0700)
committer
Al Viro
<
[email protected]
>
Fri, 3 Jun 2011 22:43:00 +0000
(18:43 -0400)
Commit
64252c75a
removed the useless dget from dentry_unhash but didn't
fix up this caller in the usb code. There used to be exactly one dput per
dentry_unhash call; now there are none.
Tested-by: Sebastian Andrzej Siewior <
[email protected]
>
Signed-off-by: Sage Weil <
[email protected]
>
Signed-off-by: Al Viro <
[email protected]
>
drivers/usb/core/inode.c
patch
|
blob
|
history
diff --git
a/drivers/usb/core/inode.c
b/drivers/usb/core/inode.c
index 1b125c224dcf8d4d73f5a094edb6f4417c8e88e4..2278dad886e2e8b028b2809eb39ccba8c09dff46 100644
(file)
--- a/
drivers/usb/core/inode.c
+++ b/
drivers/usb/core/inode.c
@@
-389,7
+389,6
@@
static int usbfs_rmdir(struct inode *dir, struct dentry *dentry)
mutex_unlock(&inode->i_mutex);
if (!error)
d_delete(dentry);
- dput(dentry);
return error;
}