diff options
author | Jeff Layton <jlayton@redhat.com> | 2010-09-20 19:01:36 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2010-09-29 15:04:33 -0400 |
commit | f7a40689fd1e963cb1006349e050c07584895db5 (patch) | |
tree | 32c0275bde5c7c2a9cb36c672648bb19e392171f /fs/cifs/cifsproto.h | |
parent | 0d424ad0a4b8c08e45928bccfa5b4b240097b01b (diff) |
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, | |||
107 | 107 | ||
108 | extern struct cifsFileInfo *cifs_new_fileinfo(struct inode *newinode, | 108 | extern struct cifsFileInfo *cifs_new_fileinfo(struct inode *newinode, |
109 | __u16 fileHandle, struct file *file, | 109 | __u16 fileHandle, struct file *file, |
110 | struct vfsmount *mnt, unsigned int oflags, | 110 | struct vfsmount *mnt, struct cifsTconInfo *tcon, |
111 | __u32 oplock); | 111 | unsigned int oflags, __u32 oplock); |
112 | extern int cifs_posix_open(char *full_path, struct inode **pinode, | 112 | extern int cifs_posix_open(char *full_path, struct inode **pinode, |
113 | struct super_block *sb, | 113 | struct super_block *sb, |
114 | int mode, int oflags, | 114 | int mode, int oflags, |