summaryrefslogtreecommitdiff
path: root/fs/cifs/cifsglob.h
diff options
context:
space:
mode:
authorSteve French <smfrench@gmail.com>2016-09-30 21:14:26 -0500
committerSteve French <smfrench@gmail.com>2016-10-13 19:48:11 -0500
commit834170c85978b0e85805364f623393968f7a9b5e (patch)
tree92f80f9bdd84120a4aecacd3a8f8e06ec65079bc /fs/cifs/cifsglob.h
parent18dd8e1a65ddae2351d0f0d6dd4a334f441fc5fa (diff)
downloadlwn-834170c85978b0e85805364f623393968f7a9b5e.tar.gz
lwn-834170c85978b0e85805364f623393968f7a9b5e.zip
Enable previous version support
Add ioctl to query previous versions of file Allows listing snapshots on files on SMB3 mounts. Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r--fs/cifs/cifsglob.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h
index cd80594f14d0..d9a17288baf3 100644
--- a/fs/cifs/cifsglob.h
+++ b/fs/cifs/cifsglob.h
@@ -388,6 +388,8 @@ struct smb_version_operations {
int (*calc_signature)(struct smb_rqst *, struct TCP_Server_Info *);
int (*set_integrity)(const unsigned int, struct cifs_tcon *tcon,
struct cifsFileInfo *src_file);
+ int (*enum_snapshots)(const unsigned int xid, struct cifs_tcon *tcon,
+ struct cifsFileInfo *src_file, void __user *);
int (*query_mf_symlink)(unsigned int, struct cifs_tcon *,
struct cifs_sb_info *, const unsigned char *,
char *, unsigned int *);