diff options
author | Pavel Shilovsky <piastry@etersoft.ru> | 2014-01-16 06:53:36 -0500 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2014-01-20 10:52:13 -0500 |
commit | d81b8a40e2ece0a9ab57b1fe1798e291e75bf8fc (patch) | |
tree | a3fd90c8172375499b2ad8f5f21ba633a3e522b3 /fs/cifs/cifsproto.h | |
parent | 0360d605a236355f9501d21175e405536e2acd48 (diff) |
CIFS: Cleanup cifs open codepath
Rename CIFSSMBOpen to CIFS_open and make it take
cifs_open_parms structure as a parm.
Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru>
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/cifsproto.h')
-rw-r--r-- | fs/cifs/cifsproto.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h index 582ae61f45b6..79e6e9a93a8c 100644 --- a/fs/cifs/cifsproto.h +++ b/fs/cifs/cifsproto.h | |||
@@ -362,11 +362,8 @@ extern int CIFSSMBQuerySymLink(const unsigned int xid, struct cifs_tcon *tcon, | |||
362 | const struct nls_table *nls_codepage); | 362 | const struct nls_table *nls_codepage); |
363 | extern int CIFSSMB_set_compression(const unsigned int xid, | 363 | extern int CIFSSMB_set_compression(const unsigned int xid, |
364 | struct cifs_tcon *tcon, __u16 fid); | 364 | struct cifs_tcon *tcon, __u16 fid); |
365 | extern int CIFSSMBOpen(const unsigned int xid, struct cifs_tcon *tcon, | 365 | extern int CIFS_open(const unsigned int xid, struct cifs_open_parms *oparms, |
366 | const char *path, const int disposition, | 366 | int *oplock, FILE_ALL_INFO *buf); |
367 | const int desired_access, const int create_options, | ||
368 | __u16 *netfid, int *oplock, FILE_ALL_INFO *buf, | ||
369 | const struct nls_table *nls, int remap); | ||
370 | extern int SMBLegacyOpen(const unsigned int xid, struct cifs_tcon *tcon, | 367 | extern int SMBLegacyOpen(const unsigned int xid, struct cifs_tcon *tcon, |
371 | const char *fileName, const int disposition, | 368 | const char *fileName, const int disposition, |
372 | const int access_flags, const int omode, | 369 | const int access_flags, const int omode, |