diff options
author | Steve French | 2016-10-01 04:14:26 +0200 |
---|---|---|
committer | Steve French | 2016-10-14 02:48:11 +0200 |
commit | 834170c85978b0e85805364f623393968f7a9b5e (patch) | |
tree | 92f80f9bdd84120a4aecacd3a8f8e06ec65079bc /fs/cifs/cifsglob.h | |
parent | Do not send SMB3 SET_INFO request if nothing is changing (diff) | |
download | kernel-qcow2-linux-834170c85978b0e85805364f623393968f7a9b5e.tar.gz kernel-qcow2-linux-834170c85978b0e85805364f623393968f7a9b5e.tar.xz kernel-qcow2-linux-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.h | 2 |
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 *); |