aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsglob.h
diff options
context:
space:
mode:
authorPavel Shilovsky <pshilovsky@samba.org>2012-05-27 09:34:43 -0400
committerPavel Shilovsky <pshilovsky@samba.org>2012-07-24 13:55:07 -0400
commit1208ef1f76540b621f80e6130c4fb7bed8ece360 (patch)
tree65edaf646b06ba93ffe2a0ee4a98e7b9378bb59f /fs/cifs/cifsglob.h
parent2503a0dba989486c59523a947a1dcb50ad90fee9 (diff)
CIFS: Move query inode info code to ops struct
Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org> Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r--fs/cifs/cifsglob.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h
index f711d666e3db..2b1234599e72 100644
--- a/fs/cifs/cifsglob.h
+++ b/fs/cifs/cifsglob.h
@@ -163,6 +163,7 @@ struct cifsFileInfo;
163struct cifs_ses; 163struct cifs_ses;
164struct cifs_tcon; 164struct cifs_tcon;
165struct dfs_info3_param; 165struct dfs_info3_param;
166struct cifs_fattr;
166 167
167struct smb_version_operations { 168struct smb_version_operations {
168 int (*send_cancel)(struct TCP_Server_Info *, void *, 169 int (*send_cancel)(struct TCP_Server_Info *, void *,
@@ -218,6 +219,14 @@ struct smb_version_operations {
218 /* check if a path is accessible or not */ 219 /* check if a path is accessible or not */
219 int (*is_path_accessible)(const unsigned int, struct cifs_tcon *, 220 int (*is_path_accessible)(const unsigned int, struct cifs_tcon *,
220 struct cifs_sb_info *, const char *); 221 struct cifs_sb_info *, const char *);
222 /* query path data from the server */
223 int (*query_path_info)(const unsigned int, struct cifs_tcon *,
224 struct cifs_sb_info *, const char *,
225 FILE_ALL_INFO *, bool *);
226 /* get server index number */
227 int (*get_srv_inum)(const unsigned int, struct cifs_tcon *,
228 struct cifs_sb_info *, const char *,
229 u64 *uniqueid, FILE_ALL_INFO *);
221}; 230};
222 231
223struct smb_version_values { 232struct smb_version_values {