diff options
author | Jeff Layton <jlayton@redhat.com> | 2009-09-21 22:08:18 +0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2009-09-24 23:35:18 +0400 |
commit | 086f68bd97126618ecb2dcff5f766f3a21722df7 (patch) | |
tree | 25f5785dc4ce4ffdc8c852b6c04e52324dd334b0 /fs/cifs/cifsproto.h | |
parent | 3bc303c254335dbd7c7012cc1760b12f1d5514d3 (diff) | |
download | linux-086f68bd97126618ecb2dcff5f766f3a21722df7.tar.xz |
cifs: eliminate cifs_init_private
...it does the same thing as cifs_fill_fileinfo, but doesn't handle the
flist ordering correctly. Also rename cifs_fill_fileinfo to a more
descriptive name and have it take an open flags arg instead of just a
write_only flag. That makes the logic in the callers a little simpler.
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 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h index 733e71b57c7a..42da854cda36 100644 --- a/fs/cifs/cifsproto.h +++ b/fs/cifs/cifsproto.h @@ -91,6 +91,9 @@ extern u64 cifs_UnixTimeToNT(struct timespec); extern struct timespec cnvrtDosUnixTm(__le16 le_date, __le16 le_time, int offset); +extern struct cifsFileInfo *cifs_new_fileinfo(struct inode *newinode, + __u16 fileHandle, struct file *file, + struct cifsTconInfo *tcon, unsigned int oflags); extern int cifs_posix_open(char *full_path, struct inode **pinode, struct vfsmount *mnt, int mode, int oflags, __u32 *poplock, __u16 *pnetfid, int xid); |