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

From: Arnd Bergmann
Date: Tue Apr 27 2010 - 10:33:18 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/