Re: [PATCH 1/7] logfs: push down BKL into ioctl function

Arnd Bergmann
2010-04-27T14:33:15Z

On Tuesday 27 April 2010, Arnd Bergmann wrote:
> diff --git a/fs/smbfs/ioctl.c b/fs/smbfs/ioctl.c
> index dbae1f8..910215b 100644
> --- a/fs/smbfs/ioctl.c
> +++ b/fs/smbfs/ioctl.c
> @@ -26,7 +26,7 @@ int
> smb_ioctl(struct inode *inode, struct file *filp,
> unsigned int cmd, unsigned long arg)
> {
> - struct smb_sb_info *server = server_from_inode(inode);
> + struct smb_sb_info *server = server_from_inode(filp->f_path.dentry->d_inode);
> struct smb_conn_opt opt;
> int result = -EINVAL;

This hunk obviously belongs to the smbfs patch, not the logfs patch. Sorry about that.

Arnd