Message ID | 9e0dd9a4-afa8-1137-7f8b-ccec26825aa1@paragon-software.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp195507wrn; Wed, 15 Feb 2023 05:39:54 -0800 (PST) X-Google-Smtp-Source: AK7set/FtBrHr1jupU8UUjiTTfEtLVjPOUlSY+9PrvF1J1brk2uYB5PbCsam2W9dLaTWY1bddldR X-Received: by 2002:a62:170a:0:b0:5a8:b082:19dc with SMTP id 10-20020a62170a000000b005a8b08219dcmr2254393pfx.11.1676468394543; Wed, 15 Feb 2023 05:39:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676468394; cv=none; d=google.com; s=arc-20160816; b=XZBaASgw+8HhpvAgGUeQTQq7HVv2VNvEKagyluZN4fZnAbkr6MR0S69orBDiQkutZS GByDPPP/K1TJaRndj/DgxivW7CbWyFUzwsExy1jjqkizfWxiQKLf3NklsyUIJk5lYW/w k8gdN6CpFYU5/kvK5PYPlJpRf59fmAR8Dj0svNtkYZiFdJ7SlpEXj/Upz12weffLzc3n M+6ieNgMw8fE8K9vP2AQ4uAJd1YiZgNQzCh0yu/gon6TK/Cyro+gT5lBBdXmP/uBwV0X AIi06wlND0AOCoGOdtvBw/F7RQ77VtAl2gFcP+Aa2GUwjpsWu0Q7G7/GTbVe5sZzi/8q VV3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:references :cc:to:from:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature:dkim-signature; bh=qABqCzWeJMd8lL3Bs/m2a0hwQR1+Gsb68tcyxZYiqqY=; b=h384VBTasK0RTBxggOsK47CtBnmeDxk4Fxdy6jj8/c00usVI5NZwzgykU+EGONs3O+ SJdBQ6QrOf00ibYaF3c+j3kta3jbbDH+8SoxhGS/dugyjycvI1bq28cjz/BZRZzEmsKu zAE5icR9aYM5t74Du6UmHy/PYYxpM6EbPjymkHH90PKIKyTsEugePuY04jJTCTHsMOYe //7QazdBvPXC9vmoGUhyV7EtysmB/f7DmViLeoagGm9X2IfYDhVDsrZZJaNdWqCoWsTy dPCOM3GSbsilQ8vPg8jv+tvHOPwGzDSGrURWqPEMofuwbxHhSlFdj1yl5ePI623vegzc cc3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@paragon-software.com header.s=mail header.b=NeHGIHvj; dkim=pass header.i=@paragon-software.com header.s=mail header.b=Nv7Dc7iP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=paragon-software.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a5-20020aa794a5000000b005a8ddfdfbfbsi4600776pfl.30.2023.02.15.05.39.39; Wed, 15 Feb 2023 05:39:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-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=@paragon-software.com header.s=mail header.b=NeHGIHvj; dkim=pass header.i=@paragon-software.com header.s=mail header.b=Nv7Dc7iP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=paragon-software.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229793AbjBONiH (ORCPT <rfc822;tebrre53rla2o@gmail.com> + 99 others); Wed, 15 Feb 2023 08:38:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229460AbjBONiG (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 15 Feb 2023 08:38:06 -0500 Received: from relayaws-01.paragon-software.com (relayaws-01.paragon-software.com [35.157.23.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE5F37D88; Wed, 15 Feb 2023 05:38:05 -0800 (PST) Received: from relayfre-01.paragon-software.com (unknown [172.30.72.12]) by relayaws-01.paragon-software.com (Postfix) with ESMTPS id 9B29A2147; Wed, 15 Feb 2023 13:33:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paragon-software.com; s=mail; t=1676468033; bh=qABqCzWeJMd8lL3Bs/m2a0hwQR1+Gsb68tcyxZYiqqY=; h=Date:Subject:From:To:CC:References:In-Reply-To; b=NeHGIHvjmMRxaOW43o4icEh3F5LwXYbTVz8PkfLcNfmyDFe/Bt2my8KiOd43MekOu 4OF8h0WyBmidpMbwVaE0+F4Pk5fsrOXF2fI2mBi4sl4KGL7OEqRieh2rbJfABGn1Om UncOn4kcq2w/WhJyaPGf8/4FlXtE2tfnQAaYV3Ew= Received: from dlg2.mail.paragon-software.com (vdlg-exch-02.paragon-software.com [172.30.1.105]) by relayfre-01.paragon-software.com (Postfix) with ESMTPS id E9C2F1E70; Wed, 15 Feb 2023 13:38:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paragon-software.com; s=mail; t=1676468283; bh=qABqCzWeJMd8lL3Bs/m2a0hwQR1+Gsb68tcyxZYiqqY=; h=Date:Subject:From:To:CC:References:In-Reply-To; b=Nv7Dc7iPcqNQs8qB6kUQLqyB02zMfSvYFdF2EnIBuC4dF5t8n2xOm+bLgE2pqys6F +Ktcj9H4TrhZTM9nUzEO4HIvcviPQgPNFIJJaABZShaXbhoThXy7GCwYP6gqQuV96O 8YI1lf+OhKYodotlKDPFCeuahN5qrhkFl8VIYIzk= Received: from [192.168.211.36] (192.168.211.36) by vdlg-exch-02.paragon-software.com (172.30.1.105) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.7; Wed, 15 Feb 2023 16:38:03 +0300 Message-ID: <9e0dd9a4-afa8-1137-7f8b-ccec26825aa1@paragon-software.com> Date: Wed, 15 Feb 2023 17:38:02 +0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.2 Subject: [PATCH 07/11] fs/ntfs3: Remove field sbi->used.bitmap.set_tail Content-Language: en-US From: Konstantin Komarov <almaz.alexandrovich@paragon-software.com> To: <ntfs3@lists.linux.dev> CC: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>, <linux-fsdevel@vger.kernel.org> References: <d7c91201-5e09-5c06-3283-7887f5a5b7f1@paragon-software.com> In-Reply-To: <d7c91201-5e09-5c06-3283-7887f5a5b7f1@paragon-software.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [192.168.211.36] X-ClientProxiedBy: vdlg-exch-02.paragon-software.com (172.30.1.105) To vdlg-exch-02.paragon-software.com (172.30.1.105) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757904523686188028?= X-GMAIL-MSGID: =?utf-8?q?1757904523686188028?= |
Series |
fs/ntfs3: Bugfix and refactoring
|
|
Commit Message
Konstantin Komarov
Feb. 15, 2023, 1:38 p.m. UTC
This field is not used in driver.
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
---
fs/ntfs3/ntfs_fs.h | 1 -
fs/ntfs3/super.c | 2 --
2 files changed, 3 deletions(-)
goto put_inode_out;
diff --git a/fs/ntfs3/ntfs_fs.h b/fs/ntfs3/ntfs_fs.h index 73a639716b45..26957dbfe471 100644 --- a/fs/ntfs3/ntfs_fs.h +++ b/fs/ntfs3/ntfs_fs.h @@ -163,7 +163,6 @@ struct wnd_bitmap { size_t zone_bit; size_t zone_end; - bool set_tail; // Not necessary in driver. bool inited; }; diff --git a/fs/ntfs3/super.c b/fs/ntfs3/super.c index 10c019ef7da3..d7bec9b28a42 100644 --- a/fs/ntfs3/super.c +++ b/fs/ntfs3/super.c @@ -1117,8 +1117,6 @@ static int ntfs_fill_super(struct super_block *sb, struct fs_context *fc) goto put_inode_out; } - /* Not necessary. */ - sbi->used.bitmap.set_tail = true; err = wnd_init(&sbi->used.bitmap, sb, tt); if (err)