From patchwork Fri Oct 21 16:50:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konstantin Komarov X-Patchwork-Id: 495 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4242:0:0:0:0:0 with SMTP id s2csp803955wrr; Fri, 21 Oct 2022 09:59:05 -0700 (PDT) X-Google-Smtp-Source: AMsMyM74iErmqxsK74g4nfkWrYzkMYdw4keBcl6U0a3jmaB97JQshNwez0NGzLpUkeaGlGZwt8Yk X-Received: by 2002:a17:90b:2243:b0:20b:42a:4c0d with SMTP id hk3-20020a17090b224300b0020b042a4c0dmr57066658pjb.123.1666371545034; Fri, 21 Oct 2022 09:59:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666371545; cv=none; d=google.com; s=arc-20160816; b=gZX0EMV8YCxQ+Q62QZ6ZMRWMZFjoRp2TI3net+jtuuO5yx1PkayPAlxodZ9XyAKeUn WEqFPawPTiUihA14yFKRxRcTM+mE04VfffIs0wc9L5Z8TxfuYUL7aPrwWun44QiKt1Y6 WdRHfUuJ5qb3pj+ehyX5+gl8FSncDyGVoW9U+gFtSYSB3MYLo9V/yBF+NCzrLVWPbwGG cRkfnR/XuItl3i+V1JBn8bIh+V5HGuabRh8v0cT6tSHP4Fu8eeycmEct3eWnfYXQMa7x cg72ZWvloSoJMfB4JN4ihWXnnwnM63igmbioMeVUidH4ixuqNOoXnV+jfFmHPzw40Cnl B91Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:subject:from:cc:to :content-language:user-agent:mime-version:date:message-id :dkim-signature:dkim-signature; bh=WeVn35Qu93dW5uoNZOx7Po56GHqBOQvSph/fAxdOSGc=; b=RRv6vcblJUg3ZTIbsysw4IpRND3MVRBHD6G573wAhYRAjUd+k7OlfN9AUkxcIuzIlO FVg4oAGR4KJi98kanX6hQ9UqpX+jzxCGRbRGbP3TgG+M4UXcPTgjMHFzTXUDOOWFERlJ 5ZfGQIjkoR0ynNMEL6zC1sAGpoC23wzHt6GRyWB6B6Cau1H+3Rs5EOsf0GsKnoawl+UV ytyJDzXSwms9OyMnlauYunhblljIhqZnaCjYrqo2SkvynTakrpSNNMyx8KPW15H9byHx uKqkQiNUDK2CdbOSd5J7Pn7EU3F3hzkdnt/S867jPafW1Y//XO9hohTmFj8/hNxWyHo2 KRgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@paragon-software.com header.s=mail header.b=F11S1+Mz; dkim=pass header.i=@paragon-software.com header.s=mail header.b=fmKhGWbG; 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 w8-20020a170902e88800b00178170100fasi29943487plg.337.2022.10.21.09.58.49; Fri, 21 Oct 2022 09:59:05 -0700 (PDT) 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=F11S1+Mz; dkim=pass header.i=@paragon-software.com header.s=mail header.b=fmKhGWbG; 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 S231197AbiJUQvS (ORCPT + 99 others); Fri, 21 Oct 2022 12:51:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46704 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231254AbiJUQvB (ORCPT ); Fri, 21 Oct 2022 12:51:01 -0400 Received: from relayaws-01.paragon-software.com (relayaws-01.paragon-software.com [35.157.23.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88F7F285B5D; Fri, 21 Oct 2022 09:50:52 -0700 (PDT) Received: from relayfre-01.paragon-software.com (unknown [172.30.72.12]) by relayaws-01.paragon-software.com (Postfix) with ESMTPS id 295122200; Fri, 21 Oct 2022 16:48:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paragon-software.com; s=mail; t=1666370897; bh=WeVn35Qu93dW5uoNZOx7Po56GHqBOQvSph/fAxdOSGc=; h=Date:To:CC:From:Subject; b=F11S1+Mz0IWKy13Nd+V1DMdcYBHUfWd0xQmbvSLcyQjBfuLrGwKgDV7Rx09CK9noS ZuZbA4nMfxE5zjLpXqWhM9CqySjMGG9H66Rlu5HX7OzS3dY1HyivuLHPeCeIz3ChLK N7ljr6veaL6eBaId8AlkjmwawXhyQVxtS/Y77x/o= 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 380352138; Fri, 21 Oct 2022 16:50:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paragon-software.com; s=mail; t=1666371050; bh=WeVn35Qu93dW5uoNZOx7Po56GHqBOQvSph/fAxdOSGc=; h=Date:To:CC:From:Subject; b=fmKhGWbGQr0hrVd9sPzUmHoEhVlDLVWNajkBBtUD7POB233EVCMy2pTbxrFp6M2i1 yXls9NBuXkFPV7OJW9MkFu2kS5mQNv4AxAHHcY0xv5XXqg2+GcRr/S9p0vuI8+TmAE B0ynbPm1cQq9hOEiWzZb25LmfiuzvfTetJcjuWNQ= Received: from [172.30.8.65] (172.30.8.65) 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; Fri, 21 Oct 2022 19:50:49 +0300 Message-ID: <9a7d08c2-e503-ac1d-1621-20369c073530@paragon-software.com> Date: Fri, 21 Oct 2022 19:50:49 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Content-Language: en-US To: CC: , From: Konstantin Komarov Subject: [PATCH 0/4] fs/ntfs3: Bugfix and refactoring X-Originating-IP: [172.30.8.65] 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, URIBL_BLOCKED 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-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747317209248888252?= X-GMAIL-MSGID: =?utf-8?q?1747317209248888252?= [PATCH 0/4] fs/ntfs3: Bugfix and refactoring First part of fixes and refactoring for ntfs3. These patches must be applied after series "fs/ntfs3: Fixes for big endian systems", that was missed by me. Konstantin Komarov (4): fs/ntfs3: Add ntfs_bitmap_weight_le function and refactoring fs/ntfs3: Fix sparse problems fs/ntfs3: Remove unused functions fs/ntfs3: Simplify ntfs_update_mftmirr function fs/ntfs3/attrib.c | 34 ++------------- fs/ntfs3/bitfunc.c | 4 +- fs/ntfs3/bitmap.c | 100 +++++++++++++++++++++++++-------------------- fs/ntfs3/dir.c | 4 +- fs/ntfs3/frecord.c | 3 +- fs/ntfs3/fsntfs.c | 33 +-------------- fs/ntfs3/namei.c | 13 +++--- fs/ntfs3/ntfs_fs.h | 13 +++--- 8 files changed, 77 insertions(+), 127 deletions(-)