From patchwork Sun May 22 23:36:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve French X-Patchwork-Id: 12858379 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E215EC433EF for ; Sun, 22 May 2022 23:36:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344244AbiEVXgy (ORCPT ); Sun, 22 May 2022 19:36:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240460AbiEVXgx (ORCPT ); Sun, 22 May 2022 19:36:53 -0400 Received: from mail-vk1-xa33.google.com (mail-vk1-xa33.google.com [IPv6:2607:f8b0:4864:20::a33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 24ADCD7A for ; Sun, 22 May 2022 16:36:52 -0700 (PDT) Received: by mail-vk1-xa33.google.com with SMTP id i25so1412314vkr.8 for ; Sun, 22 May 2022 16:36:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=ooe+mKEXt9RL6Fgaj75WWsNFXYoZHf4wod9h5uNnXtI=; b=Y3dzzf2CT4uLS6NRrHof3JLM2nKA58c+lKyD/P9W/zGstVwl5j0uxEgar8S6xmckQb gUwFr831Soss6lV+ih33d3CUoyQTE4/OKdHc7Ret9rg+aJF4b4ZWEYs+owY21aV8qDfr CTpDd5zY7Et8S+rybKTfl2qOxp/yTKOk5BLdAhPSje101ytULl1/GrQ/Mcsx4GXxecO6 DY13zusudre0VaJZQrL3R53iS8v+IU/SF070P/EdJLaM/p59O8mcGK0lwD5iPrvxMeNq OYRAtoN5NO/hpfdRu3SNoAdrpaYg08YZ2yTdjggl5gjBAMiwOy4D1bvIFussuqPTJ+O6 5zMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ooe+mKEXt9RL6Fgaj75WWsNFXYoZHf4wod9h5uNnXtI=; b=gk+TqvNpawT/j1sbNsJevOTUWqnnZto0N+1GghDK7Co/jGJPOiqgqzF4hfbMHn5wHT yWP+JA2viRr6JNvcZRRQLdYBJ5HfQQ3Ywe5M4i1UD2EG3ceeYOWUgRCcIIMEP0+j89y9 s4HCrgXUJCxd7432CHcpW1VV3Qbfl0KcLZB8XCpvoOXzq5G9z7mrjJWo4hlNlf7hm6hl WMxPMqrs52HZQSYz74PniigvK5mcbaiUAOq0v6IXd9MZM/hGHRn3QUsgZnjzZ/riLkVb gjzTCs0Cy3wvo/ItnG4m++NvzpEYXkt77R/2TKUXuAnJ8/tXrqeevTShKfOKR6LwKr1q 0Zow== X-Gm-Message-State: AOAM531TvapeC1E8JL58aUum2uBrqOo2L2tsRwGrWNRp6gNBTwoBrNIR z8KeZYezUPwUtj1sdELtrk+LQLFr8rHWSyC14u0T8xL1pA4= X-Google-Smtp-Source: ABdhPJz2HoZxeivpjO7mZFAafKrnP3SNAyfaxavpbtwoDPNMSg+8Gkrx2cihRD9oH+UNaKPN87M/OcmaCVQIR6R6MJc= X-Received: by 2002:a1f:a7d5:0:b0:34e:4447:6309 with SMTP id q204-20020a1fa7d5000000b0034e44476309mr6968204vke.38.1653262610639; Sun, 22 May 2022 16:36:50 -0700 (PDT) MIME-Version: 1.0 From: Steve French Date: Sun, 22 May 2022 18:36:39 -0500 Message-ID: Subject: [PATCH][SMB3] Add defines for various newer FSCTLs To: CIFS , samba-technical Precedence: bulk List-ID: X-Mailing-List: linux-cifs@vger.kernel.org Checking MS-FSCC section 2.3 found six FSCTL defines that were missing See attached Reviewed-by: David Disseldorp From 82a70e341b94fdf02a61ef7118ab34a9c15f9f4b Mon Sep 17 00:00:00 2001 From: Steve French Date: Sun, 22 May 2022 18:30:38 -0500 Subject: [PATCH] [SMB3] Add defines for various newer FSCTLs Checking MS-FSCC section 2.3 found six FSCTL defines that were missing Signed-off-by: Steve French --- fs/smbfs_common/smbfsctl.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/fs/smbfs_common/smbfsctl.h b/fs/smbfs_common/smbfsctl.h index d51939c43ad7..9e9e86de95f6 100644 --- a/fs/smbfs_common/smbfsctl.h +++ b/fs/smbfs_common/smbfsctl.h @@ -88,21 +88,27 @@ #define FSCTL_READ_RAW_ENCRYPTED 0x000900E3 /* BB add struct */ #define FSCTL_READ_FILE_USN_DATA 0x000900EB /* BB add struct */ #define FSCTL_WRITE_USN_CLOSE_RECORD 0x000900EF /* BB add struct */ +#define FSCTL_MARK_HANDLE 0x000900FC /* BB add struct */ #define FSCTL_SIS_COPYFILE 0x00090100 /* BB add struct */ #define FSCTL_RECALL_FILE 0x00090117 /* BB add struct */ #define FSCTL_QUERY_SPARING_INFO 0x00090138 /* BB add struct */ +#define FSCTL_QUERY_ON_DISK_VOLUME_INFO 0x000913C #define FSCTL_SET_ZERO_ON_DEALLOC 0x00090194 /* BB add struct */ #define FSCTL_SET_SHORT_NAME_BEHAVIOR 0x000901B4 /* BB add struct */ #define FSCTL_GET_INTEGRITY_INFORMATION 0x0009027C +#define FSCTL_QUERY_FILE_REGIONS 0x00090284 #define FSCTL_GET_REFS_VOLUME_DATA 0x000902D8 /* See MS-FSCC 2.3.24 */ #define FSCTL_SET_INTEGRITY_INFORMATION_EXT 0x00090380 #define FSCTL_GET_RETRIEVAL_POINTERS_AND_REFCOUNT 0x000903d3 #define FSCTL_GET_RETRIEVAL_POINTER_COUNT 0x0009042b #define FSCTL_REFS_STREAM_SNAPSHOT_MANAGEMENT 0x00090440 #define FSCTL_QUERY_ALLOCATED_RANGES 0x000940CF +#define FSCTL_OFFLOAD_READ 0x00094264 /* BB add struct */ +#define FSCTL_OFFLOAD_WRITE 0x00098268 /* BB add struct */ #define FSCTL_SET_DEFECT_MANAGEMENT 0x00098134 /* BB add struct */ #define FSCTL_FILE_LEVEL_TRIM 0x00098208 /* BB add struct */ #define FSCTL_DUPLICATE_EXTENTS_TO_FILE 0x00098344 +#define FSCTL_DUPLICATE_EXTENTS_TO_FILE_EX 0x000983E8 #define FSCTL_SIS_LINK_FILES 0x0009C104 #define FSCTL_SET_INTEGRITY_INFORMATION 0x0009C280 #define FSCTL_PIPE_PEEK 0x0011400C /* BB add struct */ -- 2.34.1