Re: [RFC] usb: don't dput() in usbfs_rmdir()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 30, 2011 at 9:05 PM, Sebastian Andrzej Siewior
<bigeasy@xxxxxxxxxxxxx> wrote:

> Jessi: I've seen your patch after I had mine done. If you send me a
> sign-off-by for this, I will resend it with you as Author + SOB if you
> like once the VFS are fine with this.

Signed-off-by: Jassi Brar <jaswinder.singh@xxxxxxxxxx>

Thanks

> Âdrivers/usb/core/inode.c | Â Â1 -
> Â1 files changed, 0 insertions(+), 1 deletions(-)
>
> 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;
> --
> 1.7.4.4
>
>
--
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


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux