summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsglob.h
diff options
context:
space:
mode:
authorPavel Shilovsky <pshilovsky@samba.org>2012-09-19 01:20:26 +0200
committerSteve French <smfrench@gmail.com>2012-09-25 04:46:26 +0200
commit4ad6504453644f57f7b6cf9c7bfc9d1372c5ad15 (patch)
tree21618335408bfeda325e151f3d3d1733cb38761c /fs/cifs/cifsglob.h
parentCIFS: Add open/close file support for SMB2 (diff)
downloadlinux-4ad6504453644f57f7b6cf9c7bfc9d1372c5ad15.tar.xz
linux-4ad6504453644f57f7b6cf9c7bfc9d1372c5ad15.zip
CIFS: Move guery file info code to ops struct
and make cifs_get_file_info(_unix) calls static. 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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h
index 8a69dae81d3a..500ecb921b85 100644
--- a/fs/cifs/cifsglob.h
+++ b/fs/cifs/cifsglob.h
@@ -236,6 +236,9 @@ struct smb_version_operations {
int (*query_path_info)(const unsigned int, struct cifs_tcon *,
struct cifs_sb_info *, const char *,
FILE_ALL_INFO *, bool *);
+ /* query file data from the server */
+ int (*query_file_info)(const unsigned int, struct cifs_tcon *,
+ struct cifs_fid *, FILE_ALL_INFO *);
/* get server index number */
int (*get_srv_inum)(const unsigned int, struct cifs_tcon *,
struct cifs_sb_info *, const char *,