cifs: fix smb3_zero_range so it can expand the file-size when required
[linux-2.6-block.git] / fs / cifs / smb2pdu.h
index 0bd4d4802701320e73bc795730002b729688b732..ee8977688e21f595bd6b8fb585e43ace39a2b162 100644 (file)
@@ -959,6 +959,13 @@ struct duplicate_extents_to_file {
        __le64 ByteCount;  /* Bytes to be copied */
 } __packed;
 
+/*
+ * Maximum number of iovs we need for an ioctl request.
+ * [0] : struct smb2_ioctl_req
+ * [1] : in_data
+ */
+#define SMB2_IOCTL_IOV_SIZE 2
+
 struct smb2_ioctl_req {
        struct smb2_sync_hdr sync_hdr;
        __le16 StructureSize;   /* Must be 57 */