On Mon, May 30, 2011 at 3:37 PM, Tanya Brokhman <tlinder@xxxxxxxxxxxxxx> wrote: > Hi Huajun > > Thanks for the quick reply! > Your patch fixes the issue. I just verified it. How about the following patch... diff --git a/drivers/usb/core/inode.c b/drivers/usb/core/inode.c index 1b125c2..3ef9308 100644 --- a/drivers/usb/core/inode.c +++ b/drivers/usb/core/inode.c @@ -381,7 +381,6 @@ static int usbfs_rmdir(struct inode *dir, struct dentry *dentry) dont_mount(dentry); drop_nlink(dentry->d_inode); drop_nlink(dentry->d_inode); - dput(dentry); inode->i_flags |= S_DEAD; drop_nlink(dir); error = 0; -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html