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-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux