CIFS: Add SMB2 support for flush
[profile/ivi/kernel-x86-ivi.git] / fs / cifs / smb2pdu.h
index 0e962cb..f5bf63f 100644 (file)
@@ -453,6 +453,21 @@ struct smb2_close_rsp {
        __le32 Attributes;
 } __packed;
 
+struct smb2_flush_req {
+       struct smb2_hdr hdr;
+       __le16 StructureSize;   /* Must be 24 */
+       __le16 Reserved1;
+       __le32 Reserved2;
+       __u64  PersistentFileId; /* opaque endianness */
+       __u64  VolatileFileId; /* opaque endianness */
+} __packed;
+
+struct smb2_flush_rsp {
+       struct smb2_hdr hdr;
+       __le16 StructureSize;
+       __le16 Reserved;
+} __packed;
+
 struct smb2_echo_req {
        struct smb2_hdr hdr;
        __le16 StructureSize;   /* Must be 4 */