lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 11 Dec 2013 06:33:11 -0500
From:	Jeff Layton <jlayton@...hat.com>
To:	Libo Chen <clbchenlibo.chen@...wei.com>
Cc:	<sfrench@...ba.org>, <linux-cifs@...r.kernel.org>,
	<samba-technical@...ts.samba.org>,
	LKML <linux-kernel@...r.kernel.org>,
	Li Zefan <lizefan@...wei.com>
Subject: Re: [PATCH] fs: cifs: new helper: file_inode(file)

On Wed, 11 Dec 2013 11:02:27 +0800
Libo Chen <clbchenlibo.chen@...wei.com> wrote:

> 
> Signed-off-by: Libo Chen <clbchenlibo.chen@...wei.com>
> ---
>  fs/cifs/ioctl.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/fs/cifs/ioctl.c b/fs/cifs/ioctl.c
> index 7749230..45cb59b 100644
> --- a/fs/cifs/ioctl.c
> +++ b/fs/cifs/ioctl.c
> @@ -85,7 +85,7 @@ static long cifs_ioctl_clone(unsigned int xid, struct file *dst_file,
>  		goto out_fput;
>  	}
> 
> -	src_inode = src_file.file->f_dentry->d_inode;
> +	src_inode = file_inode(src_file.file);
> 
>  	/*
>  	 * Note: cifs case is easier than btrfs since server responsible for

Acked-by: Jeff Layton <jlayton@...hat.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ