aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/smb2proto.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/cifs/smb2proto.h')
-rw-r--r--fs/cifs/smb2proto.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/fs/cifs/smb2proto.h b/fs/cifs/smb2proto.h
index e3fb4801ee96..b4eea105b08c 100644
--- a/fs/cifs/smb2proto.h
+++ b/fs/cifs/smb2proto.h
@@ -61,7 +61,7 @@ extern void move_smb2_info_to_cifs(FILE_ALL_INFO *dst,
61extern int smb2_query_path_info(const unsigned int xid, struct cifs_tcon *tcon, 61extern int smb2_query_path_info(const unsigned int xid, struct cifs_tcon *tcon,
62 struct cifs_sb_info *cifs_sb, 62 struct cifs_sb_info *cifs_sb,
63 const char *full_path, FILE_ALL_INFO *data, 63 const char *full_path, FILE_ALL_INFO *data,
64 bool *adjust_tz); 64 bool *adjust_tz, bool *symlink);
65extern int smb2_set_path_size(const unsigned int xid, struct cifs_tcon *tcon, 65extern int smb2_set_path_size(const unsigned int xid, struct cifs_tcon *tcon,
66 const char *full_path, __u64 size, 66 const char *full_path, __u64 size,
67 struct cifs_sb_info *cifs_sb, bool set_alloc); 67 struct cifs_sb_info *cifs_sb, bool set_alloc);
@@ -142,12 +142,16 @@ extern int SMB2_set_eof(const unsigned int xid, struct cifs_tcon *tcon,
142extern int SMB2_set_info(const unsigned int xid, struct cifs_tcon *tcon, 142extern int SMB2_set_info(const unsigned int xid, struct cifs_tcon *tcon,
143 u64 persistent_fid, u64 volatile_fid, 143 u64 persistent_fid, u64 volatile_fid,
144 FILE_BASIC_INFO *buf); 144 FILE_BASIC_INFO *buf);
145extern int SMB2_set_compression(const unsigned int xid, struct cifs_tcon *tcon,
146 u64 persistent_fid, u64 volatile_fid);
145extern int SMB2_oplock_break(const unsigned int xid, struct cifs_tcon *tcon, 147extern int SMB2_oplock_break(const unsigned int xid, struct cifs_tcon *tcon,
146 const u64 persistent_fid, const u64 volatile_fid, 148 const u64 persistent_fid, const u64 volatile_fid,
147 const __u8 oplock_level); 149 const __u8 oplock_level);
148extern int SMB2_QFS_info(const unsigned int xid, struct cifs_tcon *tcon, 150extern int SMB2_QFS_info(const unsigned int xid, struct cifs_tcon *tcon,
149 u64 persistent_file_id, u64 volatile_file_id, 151 u64 persistent_file_id, u64 volatile_file_id,
150 struct kstatfs *FSData); 152 struct kstatfs *FSData);
153extern int SMB2_QFS_attr(const unsigned int xid, struct cifs_tcon *tcon,
154 u64 persistent_file_id, u64 volatile_file_id, int lvl);
151extern int SMB2_lock(const unsigned int xid, struct cifs_tcon *tcon, 155extern int SMB2_lock(const unsigned int xid, struct cifs_tcon *tcon,
152 const __u64 persist_fid, const __u64 volatile_fid, 156 const __u64 persist_fid, const __u64 volatile_fid,
153 const __u32 pid, const __u64 length, const __u64 offset, 157 const __u32 pid, const __u64 length, const __u64 offset,