diff options
author | Jeremy Allison <jra@samba.org> | 2005-06-22 20:26:35 -0400 |
---|---|---|
committer | Steve French <sfrench@hera.kernel.org> | 2005-06-22 20:26:35 -0400 |
commit | ac67055ef2378ea95c34b593ddf9d0a0737a240a (patch) | |
tree | 78f76cde63f158b318a57a3972a77731d8fb0ef6 /fs/cifs/cifsproto.h | |
parent | dfb7533b5f157ac7135da23883e80d895227d965 (diff) |
[CIFS] POSIX extensions, SetFSInfo added
Signed-off-by: Steve French@sfrench@us.ibm.com
Signed-off-by: Jeremy Allison (jra@samba.org)
Diffstat (limited to 'fs/cifs/cifsproto.h')
-rw-r--r-- | fs/cifs/cifsproto.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h index ea239dea571e..db2adf0b206c 100644 --- a/fs/cifs/cifsproto.h +++ b/fs/cifs/cifsproto.h | |||
@@ -40,7 +40,7 @@ extern unsigned int _GetXid(void); | |||
40 | extern void _FreeXid(unsigned int); | 40 | extern void _FreeXid(unsigned int); |
41 | #define GetXid() (int)_GetXid(); cFYI(1,("CIFS VFS: in %s as Xid: %d with uid: %d",__FUNCTION__, xid,current->fsuid)); | 41 | #define GetXid() (int)_GetXid(); cFYI(1,("CIFS VFS: in %s as Xid: %d with uid: %d",__FUNCTION__, xid,current->fsuid)); |
42 | #define FreeXid(curr_xid) {_FreeXid(curr_xid); cFYI(1,("CIFS VFS: leaving %s (xid = %d) rc = %d",__FUNCTION__,curr_xid,(int)rc));} | 42 | #define FreeXid(curr_xid) {_FreeXid(curr_xid); cFYI(1,("CIFS VFS: leaving %s (xid = %d) rc = %d",__FUNCTION__,curr_xid,(int)rc));} |
43 | extern char *build_path_from_dentry(struct dentry *); | 43 | extern char *build_path_from_dentry(struct dentry *, const struct cifs_sb_info *cifs_sb); |
44 | extern char *build_wildcard_path_from_dentry(struct dentry *direntry); | 44 | extern char *build_wildcard_path_from_dentry(struct dentry *direntry); |
45 | extern void renew_parental_timestamps(struct dentry *direntry); | 45 | extern void renew_parental_timestamps(struct dentry *direntry); |
46 | extern int SendReceive(const unsigned int /* xid */ , struct cifsSesInfo *, | 46 | extern int SendReceive(const unsigned int /* xid */ , struct cifsSesInfo *, |
@@ -89,7 +89,7 @@ extern int CIFSTCon(unsigned int xid, struct cifsSesInfo *ses, | |||
89 | 89 | ||
90 | extern int CIFSFindFirst(const int xid, struct cifsTconInfo *tcon, | 90 | extern int CIFSFindFirst(const int xid, struct cifsTconInfo *tcon, |
91 | const char *searchName, const struct nls_table *nls_codepage, | 91 | const char *searchName, const struct nls_table *nls_codepage, |
92 | __u16 *searchHandle, struct cifs_search_info * psrch_inf, int map); | 92 | __u16 *searchHandle, struct cifs_search_info * psrch_inf, int map, const char dirsep); |
93 | 93 | ||
94 | extern int CIFSFindNext(const int xid, struct cifsTconInfo *tcon, | 94 | extern int CIFSFindNext(const int xid, struct cifsTconInfo *tcon, |
95 | __u16 searchHandle, struct cifs_search_info * psrch_inf); | 95 | __u16 searchHandle, struct cifs_search_info * psrch_inf); |
@@ -125,6 +125,9 @@ extern int get_dfs_path(int xid, struct cifsSesInfo *pSesInfo, | |||
125 | int remap); | 125 | int remap); |
126 | extern int CIFSSMBQFSInfo(const int xid, struct cifsTconInfo *tcon, | 126 | extern int CIFSSMBQFSInfo(const int xid, struct cifsTconInfo *tcon, |
127 | struct kstatfs *FSData); | 127 | struct kstatfs *FSData); |
128 | extern int CIFSSMBSETFSUnixInfo(const int xid, struct cifsTconInfo *tcon, | ||
129 | __u64 cap); | ||
130 | |||
128 | extern int CIFSSMBQFSAttributeInfo(const int xid, | 131 | extern int CIFSSMBQFSAttributeInfo(const int xid, |
129 | struct cifsTconInfo *tcon); | 132 | struct cifsTconInfo *tcon); |
130 | extern int CIFSSMBQFSDeviceInfo(const int xid, struct cifsTconInfo *tcon); | 133 | extern int CIFSSMBQFSDeviceInfo(const int xid, struct cifsTconInfo *tcon); |