Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1658481rwb; Mon, 7 Nov 2022 04:25:38 -0800 (PST) X-Google-Smtp-Source: AMsMyM4c8TJQE2wqZZesuoAYel7ke9vnEZh2aOGQX3TBf1tNb7xqo9qZ/I0qhqj2S2YXTBsHtpVQ X-Received: by 2002:a05:6402:4282:b0:459:befa:c79c with SMTP id g2-20020a056402428200b00459befac79cmr51527043edc.23.1667823938043; Mon, 07 Nov 2022 04:25:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667823938; cv=none; d=google.com; s=arc-20160816; b=QIRcTBHA9FaG83qLNTVn2vzmA5nFqkklffwvXY2KIDLGMWWFlX6IO98xKdmej2UBqf ikiszqGBzYYnX/aM8GNQ3AgpFsTWvGWF1hsceikoCPZzFUmFkTkIDtQCY19JUlFyLMQf GsEqabiHk0/0XqyuttKSa8KgGWhU4kFACf3Et4RphE9544UnDskGUaTWPltLylnGsxwL rktXSXX1z6AyOfDj+2T8yc+3TApQb4zhI7qv4iTHW8EUMmfa9GfhAvNzEUYMrrXG30Va JvjlPZkXz6WslI1sk2TfsRXvi6m8+FsUi8Q9cSztPlob1c184b3wR2AbUtUAi0DIMoLL d2Yw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=UZ3j7EdKBWVYJUuDDkl+rN6c4DTW2MiR6s2rRB1jtXM=; b=NAwMRgh5M+GSYkB16HoRRxJzjXqOH1LCeipajUUl8bJJt5CJEh1AFsoYN/kPPYpeUQ /MsmygvvfQ17tmqFHmJYA/NU7xGmNDmPFjS25UkOdj3cL0fN7+Fnf7My4hAOj2dJQbor iHD5vybH24WEme1A+N5VZI0VXft5pc9O85FfvPdWqfVe1ijPVR72SL/OGvAut7UYi6e6 AiThd+5V59hXLkMReE/MkDFdDAQfDZ8MMDEtZv8k7d/rWblVetjVII0dGYGoPR/AfZlh /am++T7Spy5+cf2Z5yofvaaZ+LyrgD14LjNabgtXFk2LFD4ayi0j20ZAVQLLt4K/vIC1 rK7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=jegXKvA1; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mp3-20020a1709071b0300b007ad8bd5b636si9682831ejc.377.2022.11.07.04.25.14; Mon, 07 Nov 2022 04:25:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=jegXKvA1; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231803AbiKGMYX (ORCPT + 99 others); Mon, 7 Nov 2022 07:24:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50328 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232169AbiKGMYT (ORCPT ); Mon, 7 Nov 2022 07:24:19 -0500 Received: from mail-pg1-x52f.google.com (mail-pg1-x52f.google.com [IPv6:2607:f8b0:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 236DF63C2 for ; Mon, 7 Nov 2022 04:24:19 -0800 (PST) Received: by mail-pg1-x52f.google.com with SMTP id 64so10309340pgc.5 for ; Mon, 07 Nov 2022 04:24:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=UZ3j7EdKBWVYJUuDDkl+rN6c4DTW2MiR6s2rRB1jtXM=; b=jegXKvA1zOPiYEuuHil8v1JcZvcIoj9uWWdoNHpCuybmAhyzrHMestZ8w/URCdCQdi YEj1RhFO9MDqvR73HLYMRMXQ5GrfTFPbhQojS1tHfCZYkMz6XSvfmhehJ1lmM1Noz1YV OsiqCuCg6sOrm7kWS0+Dd5L0TOwPRfGEdC1p9xhTqeruUl5w/9f2eGU27FpgZEXWK5h8 VjWYoAJ+nZchesaPzImiBb7IcYxunFScMNVAY8hdY/jijsQxJZXVRR9Kxakcw5NK9Ut8 Qhk/uRhdYxA33j3CR6WyvMqKy9si3NilUGLtQNyNB1kSbiuNhAWgSuKHqZw+44lXbqx7 8gdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=UZ3j7EdKBWVYJUuDDkl+rN6c4DTW2MiR6s2rRB1jtXM=; b=dwDlN63ArbDNP760TOsdchwAjow+4Y64kzOLryzhG9LyUFNRDFhxu9XtXfaOoBJW86 7MmSqy7ORz+nJWP2T6pKRe2CPxNI0nTrfymqJ8XUR4QkQK2XxGz7/OHcP4OtE/cYUaUp bJMjl7GowyRoRIBXGc76UJ2NHEJi1VNS44wuBAta0HWiqqWuXesZdDaGdlBH2dMguGPI TNGaEsuOvR/HRXrvMR5Z0MJmDzVAh8QcLL1GaCTPYargyhXxNej7uaXlhAL1eyvSXmMH TR1G+0DilhwukImSuqFsH2jQYPE0ZeUVvhgSU3iPHrxO7Lue9mh+plC2CEDHGhG6LTyq vnIg== X-Gm-Message-State: ACrzQf3d6so81KGFVqZu1rfzeCMF4uPtBLlDL4E8PQGw3RZ+FBn6LMrY qa6Lqtn6yTASChIv9PaOIs4= X-Received: by 2002:a65:4bc3:0:b0:439:103b:fc35 with SMTP id p3-20020a654bc3000000b00439103bfc35mr42555258pgr.248.1667823858666; Mon, 07 Nov 2022 04:24:18 -0800 (PST) Received: from localhost ([2406:7400:63:f20b:312d:45b2:85c1:c486]) by smtp.gmail.com with ESMTPSA id t10-20020a63224a000000b00460d89df1f1sm4079017pgm.57.2022.11.07.04.24.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Nov 2022 04:24:18 -0800 (PST) From: "Ritesh Harjani (IBM)" To: Theodore Ts'o Cc: linux-ext4@vger.kernel.org, Harshad Shirwadkar , Wang Shilong , Andreas Dilger , Li Xi , Andreas Dilger , Ritesh Harjani Subject: [RFCv1 19/72] libext2fs: Misc fixes for struct_ext2_filsys Date: Mon, 7 Nov 2022 17:51:07 +0530 Message-Id: X-Mailer: git-send-email 2.37.3 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org From: Andreas Dilger Move ext2_filsys fs_num_threads to fit into the __u16 "pad" field to avoid consuming one of the few remaining __u32 reserved fields. Signed-off-by: Andreas Dilger Signed-off-by: Ritesh Harjani (IBM) --- lib/ext2fs/ext2fs.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/ext2fs/ext2fs.h b/lib/ext2fs/ext2fs.h index 6b4926ce..950ab042 100644 --- a/lib/ext2fs/ext2fs.h +++ b/lib/ext2fs/ext2fs.h @@ -278,12 +278,11 @@ struct struct_ext2_filsys { time_t now; int cluster_ratio_bits; __u16 default_bitmap_type; - __u16 pad; - __u32 fs_num_threads; + __u16 fs_num_threads; /* * Reserved for future expansion */ - __u32 reserved[4]; + __u32 reserved[5]; /* * Reserved for the use of the calling application. -- 2.37.3