]> Pileus Git - ~andy/linux/blobdiff - fs/cifs/smb2proto.h
Allow setting per-file compression via SMB2/3
[~andy/linux] / fs / cifs / smb2proto.h
index e3fb4801ee969295484fd8324bec855fc9600e0b..3cf22e39420d0f4540696fc5a715d2a1f15a057d 100644 (file)
@@ -142,6 +142,8 @@ extern int SMB2_set_eof(const unsigned int xid, struct cifs_tcon *tcon,
 extern int SMB2_set_info(const unsigned int xid, struct cifs_tcon *tcon,
                         u64 persistent_fid, u64 volatile_fid,
                         FILE_BASIC_INFO *buf);
+extern int SMB2_set_compression(const unsigned int xid, struct cifs_tcon *tcon,
+                               u64 persistent_fid, u64 volatile_fid);
 extern int SMB2_oplock_break(const unsigned int xid, struct cifs_tcon *tcon,
                             const u64 persistent_fid, const u64 volatile_fid,
                             const __u8 oplock_level);