lkml.org 
[lkml]   [2010]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH 1/7] logfs: push down BKL into ioctl function
    Date
    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


    \
     
     \ /
      Last update: 2010-04-27 16:35    [W:0.020 / U:0.088 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site