Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp999884lqt; Fri, 7 Jun 2024 05:28:21 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUhtJhYwLMBudhDeY5q5LlyeNT2HDtz9tpSaqg2HAR8InQTUUB4Dgli0MdPGIL6ban6rFVvh0IFXk5PTuwjcZZAV8iKEpemOrvIpilCZw== X-Google-Smtp-Source: AGHT+IETnmDV1CaN3Ej6fbXGdpfbBHxKC8ovGlci2rgzGP+0jhDh/RBBXnth9JVNo0inyeA/pzWr X-Received: by 2002:a17:906:2797:b0:a68:98fe:f779 with SMTP id a640c23a62f3a-a6cd7a84602mr152222966b.43.1717763301824; Fri, 07 Jun 2024 05:28:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717763301; cv=pass; d=google.com; s=arc-20160816; b=kdtteaPlMuuq2AV+YG4BxFxRJTD061lH8Pj1xdEnraPWgSuG3lYscsqAWgVbZ5vR/T nvgHlba95p3Veq4qzAVAzqgxhDxoEl98mHJ19hh8ySqMJUbc3JoBuIQolmygUwoQmgH3 +ro6yHalvX9BzcK+s4i0JAc9fIC6o4UR4Hfr/Ai4CRZG0UMTSGRyHa+hDVHe6KuQ000V doZCJ/uhYgLjlIKpMSOYLcHv02ghMLgtJPjtGOGylSc+VVcgPzWpunnpj10kaOxStaiE hoaKnaJuZL9r5LiZcc+PeR07MvSg0UQSCmYkEnY/Twa+oQxnOR/pJiWPo7IJf6p+KbQ+ 4vEQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=4Ju74zVs6D+c25lpMht9yFcmUBTQmdjcClBi1c4dJYk=; fh=xoZo938iZo6Zo9BQRi1y1Y/2pdszedQYQQiMhZQzvOk=; b=R8gHoJxBfAWNJdhVokKF2LqsRciAIENrFkMoAVLV04aTe5b/lgrwHTuGI5OydwAXSz 0NdWYXtEurnKwijAjIJD66j+Vxy5BZtkkXBpYAmFpihWQ5p09FXEN3pF8gsdFHBADy8J 0uBFI1hCVTnlYWoMrbCnkWdmNCC8Q86+qaCzR/LBDHYF5HgHdz7rM4C5tgNYD6o2ojRB BxQWoiFT3PPHkyF8/VM2hq/rt4OsR1Xx1yox8JP73Bn58rYpdlbOVdFvs6qGSOX7Pgru Cbqvs5t+9iIr70k1PeKnz5u210FQWgL/clCyZ97q55moGq2ShBhzEuY4JP+5wDOTLv2z LTBg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@paragon-software.com header.s=mail header.b=YfSuLUDw; arc=pass (i=1 spf=pass spfdomain=paragon-software.com dkim=pass dkdomain=paragon-software.com dmarc=pass fromdomain=paragon-software.com); spf=pass (google.com: domain of linux-kernel+bounces-206011-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-206011-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=paragon-software.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a6c806dbfa8si177969866b.318.2024.06.07.05.28.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jun 2024 05:28:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-206011-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@paragon-software.com header.s=mail header.b=YfSuLUDw; arc=pass (i=1 spf=pass spfdomain=paragon-software.com dkim=pass dkdomain=paragon-software.com dmarc=pass fromdomain=paragon-software.com); spf=pass (google.com: domain of linux-kernel+bounces-206011-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-206011-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=paragon-software.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 3BDA81F25949 for ; Fri, 7 Jun 2024 12:21:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F3789193066; Fri, 7 Jun 2024 12:21:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=paragon-software.com header.i=@paragon-software.com header.b="YfSuLUDw" Received: from relayaws-01.paragon-software.com (relayaws-01.paragon-software.com [35.157.23.187]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DC63C190671; Fri, 7 Jun 2024 12:21:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=35.157.23.187 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717762876; cv=none; b=bPinW5Am+0zN212GeROvMQqxN6rx4fDm3pFJCIflQDz5IHzyvJgkCH5CBZLcdTYgDblsNN2qUa6WIiAcYZBHLqZnWDO5cDv1A10eXC/a6801PsAqDuQCoV+K/nfB95E0vR6Z/Kru/2eHz0uQtvo+25U48FkzYc16CHTvkPVym/A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717762876; c=relaxed/simple; bh=/gK4O9KED9yrnf/gSG2DTQtU6MiwcridNdTEW7QxQwc=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=NEHXliyHz407NNY7+gVRBMV8bdOMXFWlcaqO0f6HjU0U5i5Yl0OSiFlgaOUvD0nmeipoJkPazD56AmLBnTZd9f8XFNQMm0be66aAi7Tb9TkJtoQxed3erc/r+niutPLpKPjRZWvHkGH39FOyKwOg4N++9doYXN7eHBmsuycwUz4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=paragon-software.com; spf=pass smtp.mailfrom=paragon-software.com; dkim=pass (1024-bit key) header.d=paragon-software.com header.i=@paragon-software.com header.b=YfSuLUDw; arc=none smtp.client-ip=35.157.23.187 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=paragon-software.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=paragon-software.com Received: from dlg2.mail.paragon-software.com (vdlg-exch-02.paragon-software.com [172.30.1.105]) by relayaws-01.paragon-software.com (Postfix) with ESMTPS id 8D16420F4; Fri, 7 Jun 2024 12:08:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paragon-software.com; s=mail; t=1717762088; bh=4Ju74zVs6D+c25lpMht9yFcmUBTQmdjcClBi1c4dJYk=; h=From:To:CC:Subject:Date; b=YfSuLUDwlmCUs6TwfZspSCJUkGCmOjwWiZv9xL6eybA73A+1eHxCLlKq+V2KnRlVo d6oU5PWmPuuuYnatcqEugJ0WMl3oqtkIK0f7uLQfniARuFcChvdvWyojEM4TQUESNw B0F/dd1Py2jWxe9ON+rlMDEK/rO/8/NKZrKFJT+0= Received: from ntfs3vm.paragon-software.com (192.168.211.95) 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, 7 Jun 2024 15:16:02 +0300 From: Konstantin Komarov To: CC: , , Konstantin Komarov Subject: [PATCH 00/18] Bugfix​ and refactoring Date: Fri, 7 Jun 2024 15:15:30 +0300 Message-ID: <20240607121548.18818-1-almaz.alexandrovich@paragon-software.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-ClientProxiedBy: vdlg-exch-02.paragon-software.com (172.30.1.105) To vdlg-exch-02.paragon-software.com (172.30.1.105) Fixed the type identification of directory elements during enumeration. Fixed the behavior under edge cases. Added attr checks in log replay. Removed unused function, MACRO. Konstantin Komarov (18): fs/ntfs3: Remove unused function fs/ntfs3: Simplify initialization of $AttrDef and $UpCase fs/ntfs3: Fix transform resident to nonresident for compressed files fs/ntfs3: Deny getting attr data block in compressed frame fs/ntfs3: Missed NI_FLAG_UPDATE_PARENT setting fs/ntfs3: Fix getting file type fs/ntfs3: Add missing .dirty_folio in address_space_operations fs/ntfs3: Fix attr_insert_range at end of file fs/ntfs3: Replace inode_trylock with inode_lock fs/ntfs3: One more reason to mark inode bad fs/ntfs3: Correct undo if ntfs_create_inode failed fs/ntfs3: Add a check for attr_names and oatbl fs/ntfs3: Use macros NTFS_LABEL_MAX_LENGTH instead of hardcoded value fs/ntfs3: Merge synonym COMPRESSION_UNIT and NTFS_LZNT_CUNIT fs/ntfs3: Remove sync_blockdev_nowait() fs/ntfs3: Remove unused macros MAXIMUM_REPARSE_DATA_BUFFER_SIZE fs/ntfs3: Rename variables fs/ntfs3: Add some comments fs/ntfs3/attrib.c | 36 ++++++++++++++++++++----- fs/ntfs3/dir.c | 3 ++- fs/ntfs3/file.c | 5 +--- fs/ntfs3/frecord.c | 6 +++-- fs/ntfs3/fslog.c | 64 +++++++++++++++++++++++++++++++-------------- fs/ntfs3/fsntfs.c | 11 ++++---- fs/ntfs3/inode.c | 43 +++++++++++++++++------------- fs/ntfs3/ntfs.h | 6 ----- fs/ntfs3/ntfs_fs.h | 18 +------------ fs/ntfs3/super.c | 65 ++++++++++++++++++---------------------------- 10 files changed, 137 insertions(+), 120 deletions(-) -- 2.34.1