diff options
author | Jeff Layton <jlayton@redhat.com> | 2010-09-21 01:01:36 +0200 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2010-09-29 21:04:33 +0200 |
commit | f7a40689fd1e963cb1006349e050c07584895db5 (patch) | |
tree | 32c0275bde5c7c2a9cb36c672648bb19e392171f /fs/cifs/cifsproto.h | |
parent | cifs: add cifs_sb_master_tcon and convert some callers to use it (diff) | |
download | linux-f7a40689fd1e963cb1006349e050c07584895db5.tar.xz linux-f7a40689fd1e963cb1006349e050c07584895db5.zip |
cifs: have cifs_new_fileinfo take a tcon arg
To minimize calls to cifs_sb_tcon and to allow for a clear error path if
a tcon can't be acquired.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsproto.h')
-rw-r--r-- | fs/cifs/cifsproto.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h index 8604a45c1107..610b2263c9f3 100644 --- a/fs/cifs/cifsproto.h +++ b/fs/cifs/cifsproto.h @@ -107,8 +107,8 @@ extern struct timespec cnvrtDosUnixTm(__le16 le_date, __le16 le_time, extern struct cifsFileInfo *cifs_new_fileinfo(struct inode *newinode, __u16 fileHandle, struct file *file, - struct vfsmount *mnt, unsigned int oflags, - __u32 oplock); + struct vfsmount *mnt, struct cifsTconInfo *tcon, + unsigned int oflags, __u32 oplock); extern int cifs_posix_open(char *full_path, struct inode **pinode, struct super_block *sb, int mode, int oflags, |