From patchwork Fri Nov 1 08:17:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konstantin Komarov X-Patchwork-Id: 13858921 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 C36EB1D555; Fri, 1 Nov 2024 08:26:27 +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=1730449589; cv=none; b=Klk3rvx88oE3m5ndr2mB9bfPJXSlCzVZVNrEqVWtxWMO2UDkUTej8gA5RUs6h9b4CJj17kM266nySM5/JKJt2CZfyz0Qj49X3AfDna2G+E0ULA0x4XXpz2j2pcfexcEVnQi8G29nA99SzafFBzJVrRU8EkWlD0S8mVWxrITGVf4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730449589; c=relaxed/simple; bh=eZ1Q7gZqcyt0QTuc3GMXoV5qW8N3MvPQp8VUUrDalG4=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=cZCEnA7OXtrhp+NgzIT9m+5ZxjeGXoxrpQBM5yl7fph1uZwSCJDYZXMSBey7YvIGzysUIKH9JCpzrx+4ongi8CAvbX25MX0lipEfIe0aGmQNStrDqLnrMZYQDVnLeS7sTFtRkiyBVfrYPzYZWd+q/dEvJyOXiDcQ3mKB69lXwCc= 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=ZFgLdTT6; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=paragon-software.com header.i=@paragon-software.com header.b="ZFgLdTT6" 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 5FC2B218B; Fri, 1 Nov 2024 08:10:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paragon-software.com; s=mail; t=1730448622; bh=vQALuUF8TQQ3vlKVBbw30hHmFXQ2qDDoZ1nMgrAFL9E=; h=From:To:CC:Subject:Date; b=ZFgLdTT6i2CAfSuGIxOnv4xIDtR6L01E1SzmnNP6Ok2DBrTE+aAf9UweIj0RLKYdH W/Gz2v76JYEz/72oqi0gnN4YNqKFvRga1lomi3kEIXMjUQzZQiY4kjnwV5g76IxZ6N 0aslrYNKCognnjjMPPCb0X7eHb77PTM5PUDmCYk4= Received: from ntfs3vm.paragon-software.com (192.168.211.142) 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, 1 Nov 2024 11:18:05 +0300 From: Konstantin Komarov To: CC: , , Konstantin Komarov Subject: [PATCH 0/7] fs/ntfs3: Bugfix and minor refactoring Date: Fri, 1 Nov 2024 11:17:46 +0300 Message-ID: <20241101081753.10585-1-almaz.alexandrovich@paragon-software.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-fsdevel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: vdlg-exch-02.paragon-software.com (172.30.1.105) To vdlg-exch-02.paragon-software.com (172.30.1.105) Mostly continuation of fixing syzbot warnings. Konstantin Komarov (7): fs/ntfs3: Fix warning in ni_fiemap fs/ntfs3: Fix case when unmarked clusters intersect with zone fs/ntfs3: Equivalent transition from page to folio fs/ntfs3: Add more checks in mi_enum_attr (part 2) fs/ntfs3: Add check in ntfs_extend_initialized_size fs/ntfs3: Switch to folio to release resources fs/ntfs3: Accumulated refactoring changes fs/ntfs3/attrib.c | 9 ++-- fs/ntfs3/bitmap.c | 62 ++++++++------------------- fs/ntfs3/file.c | 34 +++++++++------ fs/ntfs3/frecord.c | 104 +++++++-------------------------------------- fs/ntfs3/fsntfs.c | 2 +- fs/ntfs3/ntfs_fs.h | 3 +- fs/ntfs3/record.c | 16 +++++-- fs/ntfs3/run.c | 40 ++++++++++++----- 8 files changed, 103 insertions(+), 167 deletions(-)