Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp982295lqb; Sat, 25 May 2024 00:11:20 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUkJcZ5U+ie/0ZDXui1zqtEqCtzF1eMJs2cLu5oey2pzPWNGSZxPWQDWk36q8e9Jv7bS+47SG7UBMuR+Hssywab+KrSNf6d9bZ2an40bg== X-Google-Smtp-Source: AGHT+IHwK+vBFPGBFhSEtuk8zLC+mxF8lekwyvvn44oJPxVVD9DjRMiC4apm3JpFfwuaByVygkGQ X-Received: by 2002:a05:6a21:7881:b0:1af:d19b:a76 with SMTP id adf61e73a8af0-1b212d5a083mr5237193637.12.1716621079965; Sat, 25 May 2024 00:11:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716621079; cv=pass; d=google.com; s=arc-20160816; b=MNn28HkcuCM669qCsUx74/osO4Ckj6XQszGhMta6PIogEWQzvxdWfWbfU9riCa3Bzr y5npevWU2gjJF77sBtpXWm9V5OAJF0UivCxCckfV/g9ivd1/jgbxZNNRa5g8lK00BijV QgDN7KxvvsardZMsu3qmlVr5VTMETZ45NhlVSHwzYGu4CRI/oR59q6h9h30aK14Xmwm2 I+Wz48I5TMx4Z8QVBSdsSskj5WMVrCPs36iunyDSG1OzMSIcEGXipVpUN+F/EcYD3A1n LdizQQiflv3nYqS5qjRTSpS5RFwTNSu3Np3S9izMM9to1PHzlAcM3qlekJHIpDOzVZDY 7vmQ== 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=wAw8ojUEEw2Xao242PKV2SRrDojzhXxyksnFr9vSu20=; fh=0m/vUEml8fOhUGOe3RkjSZ4JSZ9+h9dPF0uAnIe3Q60=; b=kg3tPyAQemYFbsTFT+reZjpZSTO4VZ2+Dv+hoiYamzBo29lIKBT/jpvFO5t2ctwaxr CV5a3kMrpwEYdmkElTCXseIMPVLBo9yo8/PM4GMiPLZ/MK5CEDyLkWWF+5mXLxGIxqo2 jIEeVadQ5ZPd4gzErwFL5/082CsPzA2xQEvw499ERaIxkHbicy6olwB/WbJdJ6czC/IG Rmd0vgl4f10iNQzf1nW81gQi4dWJX8DyAucHpnxPnPLqZPPyLUa4if6H7ivrCYXpCnf7 7LBRsTm8KINgoCZ7Wlb/6nQAGdWvT+hMLHeKHy/LaTJHZtsDgFkdz8z2EoLAP5Z52Vur bQJA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@paragon-software.com header.s=mail header.b=R1XLHEd8; 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-189298-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-189298-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 sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1f44c9a4229si26655495ad.412.2024.05.25.00.11.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 May 2024 00:11:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-189298-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@paragon-software.com header.s=mail header.b=R1XLHEd8; 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-189298-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-189298-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id A4A95281FB3 for ; Sat, 25 May 2024 07:11:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B935014294; Sat, 25 May 2024 07:11:11 +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="R1XLHEd8" 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 A5757BE55; Sat, 25 May 2024 07:11:08 +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=1716621070; cv=none; b=T6dIBAiu+LOYE1roqxTwfyW/WK1qyyYpa44ye73zdDL0ccnVdkKVRg4ch332VuUyIZ/Re4bIKu9njYiHlqGthiD5wvR52yK3etUhMmMd2neX8e52QPsPbpICpn1d2v45Nvx9fagcLYMtT5wAcI8SIr751bpUaK1Pd12m1kiS4yg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716621070; c=relaxed/simple; bh=lbX4qDZgejEpytYpq0C8e8qHHrz0f/oVYAcVWcvT//I=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=dHDzQ0tvbRBIcxeBPj2ILGVd8sUDt7/JIOqZ9dBdztqJ999ncectX7n5/oe8OaoxczqOgH4heZVjllzFbH4Gg4O5K1Dm60ShFAEgOBJXQ9l0yMqFvEc5JQ6NYw0jDhphclwLKD4aZA9i+QQgM8z35jivRI7QYoPlX38NmJfzG5U= 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=R1XLHEd8; 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 0716B21E0; Sat, 25 May 2024 06:55:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paragon-software.com; s=mail; t=1716620148; bh=wAw8ojUEEw2Xao242PKV2SRrDojzhXxyksnFr9vSu20=; h=From:To:CC:Subject:Date; b=R1XLHEd8tmYjPbegYdniTMPyhN02afp2CBkM5p1wu5a9Z0uOjVm3UL42461NdEWw7 z731GZOb3bz/pCl+mIKEDknWzSkNMKVUURTscRcpR9LCixgeTWn6F0Nfda79cLHtPc fDb5un0GdngbMIQ8MkSw4nCXCHqz9Sr3d2MrXfLg= Received: from ntfs3vm.paragon-software.com (192.168.211.122) 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; Sat, 25 May 2024 10:03:35 +0300 From: Konstantin Komarov To: CC: , , Subject: [GIT PULL] ntfs3: bugfixes for 6.10 Date: Sat, 25 May 2024 10:03:23 +0300 Message-ID: <20240525070323.6106-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-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: vobn-exch-01.paragon-software.com (172.30.72.13) To vdlg-exch-02.paragon-software.com (172.30.1.105) Please pull this branch containing ntfs3 code for 6.10. Fixed: - reusing of the file index (could cause the file to be trimmed) [1]; - infinite dir enumeration [2]; - taking DOS names into account during link counting; - le32_to_cpu conversion, 32 bit overflow, NULL check; - some code was refactored. Changed: - removed max link count info display during driver init. Removed: - atomic_open has been removed for lack of use. All changed code (except [1] and [2]) was in linux-next branch for several weeks. [1] https://lore.kernel.org/ntfs3/20240516122041.5759-1-almaz.alexandrovich@paragon-software.com/ [2] https://lore.kernel.org/ntfs3/20240516120029.5113-1-almaz.alexandrovich@paragon-software.com/ These two patches fix a critical bug, so I've added them to this request. Regards, Konstantin ---------------------------------------------------------------- The following changes since commit 0bbac3facb5d6cc0171c45c9873a2dc96bea9680: Linux 6.9-rc4 (2024-04-14 13:38:39 -0700) are available in the Git repository at: https://github.com/Paragon-Software-Group/linux-ntfs3.git tags/ntfs3_for_6.10 for you to fetch changes up to 302e9dca8428979c9c99f2dbb44dc1783f5011c3: fs/ntfs3: Break dir enumeration if directory contents error (2024-05-24 12:50:12 +0300) ---------------------------------------------------------------- Jeff Layton (1): fs/ntfs3: remove atomic_open Konstantin Komarov (11): fs/ntfs3: Taking DOS names into account during link counting fs/ntfs3: Remove max link count info display during driver init fs/ntfs3: Missed le32_to_cpu conversion fs/ntfs3: Check 'folio' pointer for NULL fs/ntfs3: Use 64 bit variable to avoid 32 bit overflow fs/ntfs3: Use variable length array instead of fixed size fs/ntfs3: Redesign ntfs_create_inode to return error code instead of inode fs/ntfs3: Always make file nonresident on fallocate call fs/ntfs3: Mark volume as dirty if xattr is broken fs/ntfs3: Fix case when index is reused during tree transformation fs/ntfs3: Break dir enumeration if directory contents error Lenko Donchev (1): fs/ntfs3: use kcalloc() instead of kzalloc() fs/ntfs3/attrib.c | 32 ++++++++++++++ fs/ntfs3/dir.c | 1 + fs/ntfs3/file.c | 9 ++++ fs/ntfs3/frecord.c | 2 +- fs/ntfs3/fslog.c | 5 ++- fs/ntfs3/index.c | 6 +++ fs/ntfs3/inode.c | 46 +++++++++++--------- fs/ntfs3/namei.c | 121 ++++------------------------------------------------- fs/ntfs3/ntfs.h | 2 +- fs/ntfs3/ntfs_fs.h | 10 ++--- fs/ntfs3/record.c | 11 +---- fs/ntfs3/super.c | 2 - fs/ntfs3/xattr.c | 5 ++- 13 files changed, 98 insertions(+), 154 deletions(-)