usb: remove bad dput after dentry_unhash
authorSage Weil <sage@newdream.net>
Tue, 31 May 2011 16:11:11 +0000 (09:11 -0700)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 3 Jun 2011 22:43:00 +0000 (18:43 -0400)
commit3ece48a746088be3dd75904e8d9bb9b49af0aa95
treec32265a6f4897d7e7c006d74633ec7d6561ae8c6
parent9e1f1de02c2275d7172e18dc4e7c2065777611bf
usb: remove bad dput after dentry_unhash

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 <bigeasy@linutronix.de>
Signed-off-by: Sage Weil <sage@newdream.net>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/usb/core/inode.c