From patchwork Fri Jun 28 07:39:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve French X-Patchwork-Id: 11021525 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E182414C0 for ; Fri, 28 Jun 2019 07:39:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CFAA02849B for ; Fri, 28 Jun 2019 07:39:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C396028517; Fri, 28 Jun 2019 07:39:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A97D72849B for ; Fri, 28 Jun 2019 07:39:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726462AbfF1Hjx (ORCPT ); Fri, 28 Jun 2019 03:39:53 -0400 Received: from mail-pf1-f174.google.com ([209.85.210.174]:39525 "EHLO mail-pf1-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726385AbfF1Hjx (ORCPT ); Fri, 28 Jun 2019 03:39:53 -0400 Received: by mail-pf1-f174.google.com with SMTP id j2so2536856pfe.6 for ; Fri, 28 Jun 2019 00:39:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=GHWowgQohNvjpBGR0yDBBdpc8tIJ7QVVfm5jJHsNpBo=; b=Bc6HDdo0YqpKIRTWxtt/WQlr6HVR/MifMXuJaSFgDQhudMM6eIk87YSl6NFiZd849i sR/vgv7uICQfJKPcQsfv7y8FIm/PMhnhVK6u/ROfMpzYE2qvIeES6tLUZmfaQxp+GYtt u2iYc1ohw6Mg2REpSxXhkqtFwx8CwuQVuHtl8xK/+2Hf+1S3A5FpKvM4E0K/M5qR68xU O1xbx4Q6hAnKlW4ektAZQx43I0LiZkMuinOHTGKHVclD1Brm97OF1rS2G6k3p1KVb+88 YrNWwEjjq2uLevUWzA5HDgqsjHbnAMFIwx4TEPFjyH4AJJGOcePxeJxZEgTcX023Yx6O hmWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=GHWowgQohNvjpBGR0yDBBdpc8tIJ7QVVfm5jJHsNpBo=; b=acPXYLcHJw7o74Mw3XQSmaIHTEMuYnd2oxEMT4/ukzX1u8tglbR4pqPMHqPi1N+jHK QgR5HBG5q70a0WFh1muBPg/Bt4OGEWCWDVgx4/lHS6ITGMEa3woyOMjxgZmUBM402A5I 7X2anV3LMbg++Q3dKB7I0i5m9T6GuKSaFLrT925rIZYSC0ZjuQ398+kn7kfwJPQLoswc SrspDQymsIhu/G6OPIWHYt/SAKrs7jfoYlyU5lpUl+1eR2PXHkDmxpaflkmpes0Bk0mm 1+YpthE43Bto5VqK8JX0sWloGXBm3MzRQZOKtxl/4OdbHWSio+GAGRfwJFvHO11sixwO Y/MQ== X-Gm-Message-State: APjAAAUmqYFOExSNGPX2AE3Eh2UfHgEYN2JMNnCCsZDhmaxARf28N2fQ BMx/J3ZDqYVHbobartEXh71rTDqI4RMhP1ZBEYOxfA== X-Google-Smtp-Source: APXvYqxqsBP71c3aWLz4F+s6A2css/KFns23sAAFzMFl3XXLqV3FHvbSfAVn6QTho4FoBab/gu8KCrYxFZP2M+jl+U4= X-Received: by 2002:a17:90a:fa07:: with SMTP id cm7mr11022781pjb.138.1561707592118; Fri, 28 Jun 2019 00:39:52 -0700 (PDT) MIME-Version: 1.0 From: Steve French Date: Fri, 28 Jun 2019 02:39:41 -0500 Message-ID: Subject: Add missing definitions for query_disk_id To: CIFS , samba-technical Sender: linux-cifs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-cifs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP See MS-SMB2 2.2.13.2 From 6e2dc801047b70829b587e8555d73d23a2d85c8e Mon Sep 17 00:00:00 2001 From: Steve French Date: Fri, 28 Jun 2019 02:35:10 -0500 Subject: [PATCH] [smb3] add some missing definitions query on disk id structure definition was missing Signed-off-by: Steve French --- fs/cifs/smb2pdu.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/fs/cifs/smb2pdu.h b/fs/cifs/smb2pdu.h index d61ce2b019c2..053ec621e7b9 100644 --- a/fs/cifs/smb2pdu.h +++ b/fs/cifs/smb2pdu.h @@ -647,6 +647,7 @@ struct smb2_tree_disconnect_rsp { #define SMB2_CREATE_DURABLE_HANDLE_REQUEST_V2 "DH2Q" #define SMB2_CREATE_DURABLE_HANDLE_RECONNECT_V2 "DH2C" #define SMB2_CREATE_APP_INSTANCE_ID 0x45BCA66AEFA7F74A9008FA462E144D74 +#define SMB2_CREATE_APP_INSTANCE_VERSION 0xB982D0B73B56074FA07B524A8116A010 #define SVHDX_OPEN_DEVICE_CONTEX 0x9CCBCF9E04C1E643980E158DA1F6EC83 #define SMB2_CREATE_TAG_POSIX 0x93AD25509CB411E7B42383DE968BCD7C @@ -813,6 +814,13 @@ struct durable_reconnect_context_v2 { __le32 Flags; /* see above DHANDLE_FLAG_PERSISTENT */ } __packed; +/* See MS-SMB2 2.2.14.2.9 */ +struct on_disk_id { + __le64 DiskFileId; + __le64 VolumeId; + __u64 Reserved[4]; +} __packed; + /* See MS-SMB2 2.2.14.2.12 */ struct durable_reconnect_context_v2_rsp { __le32 Timeout; -- 2.20.1