Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp925254rdb; Fri, 9 Feb 2024 05:31:28 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWYrZ8KVoABSbGsqca3Ah333JtQwxATyvaMks/9W7eSzahh7jOw2vneziazVpDnKnQw2qa2YkFH0dsVR+4ex4fOhIQlzWhIo90Ovnmmmw== X-Google-Smtp-Source: AGHT+IHYe3scjNRxrUK1a+Dr16Ig+NuX6ZN9EF1v9gTwh0eZUDx+pJ1BYtRSaMnFi5wh5qVv7IpA X-Received: by 2002:a17:902:f690:b0:1d7:310e:1e0d with SMTP id l16-20020a170902f69000b001d7310e1e0dmr1777161plg.32.1707485488161; Fri, 09 Feb 2024 05:31:28 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707485488; cv=pass; d=google.com; s=arc-20160816; b=PhM+yAa/Bhfd04XFGwuia3oZd+/pz1viPbduz8i9Digf1JNYfN/ee56LGwo7ZduUBg eJQw8H5LoWd56Qjdmp4Nv4014zbs0PHdjCtu7mnLM6YitelZlNw1U+oFVjsbVc5tiDKg vhIB6KcveYihdZhM6wAb+OAMEUqddi97RcISQ7mV6E5UehyJiWwjsfMLHbBNTQ+zfz+h ACCkGe9jeCRSPIyUl3ritEeRB5hKsl7CYEp1LGVhrd+RJAWjA7qYrUsgfe0sSlWgY2CB dKxFjgVlqx1fpraq6l1iX09vrU0AlkHO1W7ip3cPanTYvSP8q+Hp9nrX1LXfC15pNamV EC9A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:subject:from:cc:to:content-language :user-agent:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:date:message-id:dkim-signature:dkim-signature; bh=uuYj/CcYFjQxlauFBkgaaaXBEDed4li6W5TordQET3o=; fh=aCqs7GZqFTqD5lbf+eqJ+nkdp8MkcXAIkmBpH+dp7fk=; b=YTsM4UqbPPvBMG6U3aTwxuRWzTpcjjXRrMzgEcSAifsrJHCruGO0BArBCaqD49dOcf M9X4uD+U68M2RReRia8FaYGNrny05lI7N2OV4r71BASWJzJ2wy+mqqsalaPAfTHtDOhy s1nG1cEpPLiVD1VsKRpB8tV3tXd72kF8u2hr3DSeb0iBzcCFfOLVKOViBhDQJpqfTnPt ZALYqv5ffk2D6g445joycRyiMmUF7lsX1+nsaNgcuDc4EzfI2W+CSGq0GFq7NYctTJVt lGnqlixZRLZ+IAYAG+ZffGS2upfm1RGugpUIV+rdZtkIkpnZvUenf04xJsl8jTJ0pkJE gRUg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@paragon-software.com header.s=mail header.b=FVzXbfAl; dkim=pass header.i=@paragon-software.com header.s=mail header.b=hZHTL1FN; arc=pass (i=1 spf=pass spfdomain=paragon-software.com dkim=pass dkdomain=paragon-software.com dkim=pass dkdomain=paragon-software.com dmarc=pass fromdomain=paragon-software.com); spf=pass (google.com: domain of linux-kernel+bounces-59373-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-59373-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=paragon-software.com X-Forwarded-Encrypted: i=2; AJvYcCW1YxEm6VEyNpmSbFb/9FZvFBkRtz+0Xn4vTc48t7y0jh5uWq+aQPu+wbpW6lEBTYYqtpqahY437tGdLKks6n33xcpa3OZMSB/5eEENFA== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id mb13-20020a170903098d00b001d750d8945dsi1713842plb.179.2024.02.09.05.31.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Feb 2024 05:31:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-59373-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=FVzXbfAl; dkim=pass header.i=@paragon-software.com header.s=mail header.b=hZHTL1FN; arc=pass (i=1 spf=pass spfdomain=paragon-software.com dkim=pass dkdomain=paragon-software.com dkim=pass dkdomain=paragon-software.com dmarc=pass fromdomain=paragon-software.com); spf=pass (google.com: domain of linux-kernel+bounces-59373-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-59373-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 4C609284E9E for ; Fri, 9 Feb 2024 13:31:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9D3B83C47E; Fri, 9 Feb 2024 13:30:00 +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="FVzXbfAl"; dkim=pass (1024-bit key) header.d=paragon-software.com header.i=@paragon-software.com header.b="hZHTL1FN" 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 0E6BB37703; Fri, 9 Feb 2024 13:29:57 +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=1707485399; cv=none; b=QuFI4QHIRL4zgzsipncTelU76nOVc7VW8ytrSANM3G/7NCcpv/bPSRSqxb+U8qMGAwnEcOT5ffBEKpGLPpW4AeD9qiJaIMk2X1CsYV5BouE7Nq/Nxx7lSQtNdc1R0xwdnXy3fkCA0WBTYINroGJlnE0x9ng//gU0lcf0t9wn5lI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707485399; c=relaxed/simple; bh=0SWT6R7olskxkBIvu3X8JlolZrl7KdkoDmusDzt+0fk=; h=Message-ID:Date:MIME-Version:To:CC:From:Subject:Content-Type; b=jlG8qJV1hjnzwWNo4FT2onna0/gekEhC5qupLYPOrV2TO2O3y55spGJFhbIC7a9MGxs3J8oc36mru1lI0NXHRew8XyL+O6imOqmMmFlKN2PD4FebR9sCG1Uut4v04uQFnLtZan/A4yjXWXkQSuQnE7W1KZuRbflQqW3y5comt3I= 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=FVzXbfAl; dkim=pass (1024-bit key) header.d=paragon-software.com header.i=@paragon-software.com header.b=hZHTL1FN; 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 relayfre-01.paragon-software.com (unknown [172.30.72.12]) by relayaws-01.paragon-software.com (Postfix) with ESMTPS id E74842138; Fri, 9 Feb 2024 13:14:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paragon-software.com; s=mail; t=1707484448; bh=uuYj/CcYFjQxlauFBkgaaaXBEDed4li6W5TordQET3o=; h=Date:To:CC:From:Subject; b=FVzXbfAlmVhsag5ff502I69Ah8zd+/Blpp4xzH8xqhaksH+jQ5p8qhLeFSBJVNW4U 8CUAXBR6oLF8LnPFKEVrWQVQofEwYr8p8noCmjEpLuHHTtBS7dmuXrZtuWmhbgKpOx 1n/O5Ret0V3o6H/rVf3jkBC+GhwBcU6Dhv+DIYmM= 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 AA9AF21E2; Fri, 9 Feb 2024 13:21:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paragon-software.com; s=mail; t=1707484863; bh=uuYj/CcYFjQxlauFBkgaaaXBEDed4li6W5TordQET3o=; h=Date:To:CC:From:Subject; b=hZHTL1FNyzbwt5yxm4eQ1cCdVJcRgjNhISS+RiqdVPNOeXufg9Eo06cJzaw5sowU4 HRcxivHSwIQ0ScYAxEeOFOGXYb6kkhCzvd1WEogqeebFXHGSckDad2YJCQa6sRNqfK 43+AKRDjTAZHyOgZABj+BgeCGNCtnTH4bZcuxuDo= Received: from [192.168.211.75] (192.168.211.75) 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, 9 Feb 2024 16:21:03 +0300 Message-ID: Date: Fri, 9 Feb 2024 16:21:02 +0300 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: Linus Torvalds CC: , Linux-fsdevel , LKML From: Konstantin Komarov Subject: [GIT PULL] ntfs3: bugfixes for 6.8 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: vobn-exch-01.paragon-software.com (172.30.72.13) To vdlg-exch-02.paragon-software.com (172.30.1.105) Hi Linus, Please pull this branch containing ntfs3 code for 6.8. Fixed: - size update for compressed file; - some logic errors, overflows; - memory leak; - some code was refactored. Added: - implement super_operations::shutdown. Improved: - alternative boot processing; - reduced stack usage. All changed code was in linux-next branch for at least week. Regards, Konstantin ---------------------------------------------------------------- The following changes since commit 33cc938e65a98f1d29d0a18403dbbee050dcad9a:    Linux 6.7-rc4 (Sun Dec 3 18:52:56 2023 +0900) are available in the Git repository at:    https://github.com/Paragon-Software-Group/linux-ntfs3.git ntfs3_for_6.8 for you to fetch changes up to 622cd3daa8eae37359a6fd3c07c36d19f66606b5:    fs/ntfs3: Slightly simplify ntfs_inode_printk() (Fri Nov 10 20:59:22 2023 +0100) ---------------------------------------------------------------- Christophe JAILLET (1):   fs/ntfs3: Slightly simplify ntfs_inode_printk() Dan Carpenter (1):   fs/ntfs3: Fix an NULL dereference bug Edward Adam Davis (1):   fs/ntfs3: Fix oob in ntfs_listxattr Ism Hong (1):   fs/ntfs3: use non-movable memory for ntfs3 MFT buffer cache Konstantin Komarov (23):   fs/ntfs3: Improve alternative boot processing   fs/ntfs3: Modified fix directory element type detection   fs/ntfs3: Improve ntfs_dir_count   fs/ntfs3: Correct hard links updating when dealing with DOS names   fs/ntfs3: Print warning while fixing hard links count   fs/ntfs3: Reduce stack usage   fs/ntfs3: Fix multithreaded stress test   fs/ntfs3: Fix detected field-spanning write (size 8) of single field "le->name"   fs/ntfs3: Correct use bh_read   fs/ntfs3: Add file_modified   fs/ntfs3: Drop suid and sgid bits as a part of fpunch   fs/ntfs3: Implement super_operations::shutdown   fs/ntfs3: ntfs3_forced_shutdown use int instead of bool   fs/ntfs3: Add and fix comments   fs/ntfs3: Add NULL ptr dereference checking at the end of attr_allocate_frame()   fs/ntfs3: Fix c/mtime typo   fs/ntfs3: Disable ATTR_LIST_ENTRY size check   fs/ntfs3: Use kvfree to free memory allocated by kvmalloc   fs/ntfs3: Prevent generic message "attempt to access beyond end of device"   fs/ntfs3: Use i_size_read and i_size_write   fs/ntfs3: Correct function is_rst_area_valid   fs/ntfs3: Fixed overflow check in mi_enum_attr()   fs/ntfs3: Update inode->i_size after success write into compressed file Nekun (1):   fs/ntfs3: Add ioctl operation for directories (FITRIM)  fs/ntfs3/attrib.c   |  45 +++++----  fs/ntfs3/attrlist.c |  12 +--  fs/ntfs3/bitmap.c   |   4 +-  fs/ntfs3/dir.c      |  48 ++++++---  fs/ntfs3/file.c     |  76 +++++++++++----  fs/ntfs3/frecord.c  |  19 ++--  fs/ntfs3/fslog.c    | 232 ++++++++++++++++++++------------------------  fs/ntfs3/fsntfs.c   |  29 +++++-  fs/ntfs3/index.c    |   8 +-  fs/ntfs3/inode.c    |  32 ++++--  fs/ntfs3/namei.c    |  12 +++  fs/ntfs3/ntfs.h     |   4 +-  fs/ntfs3/ntfs_fs.h  |  29 +++---  fs/ntfs3/record.c   |  18 +++-  fs/ntfs3/super.c    |  54 ++++++-----  fs/ntfs3/xattr.c    |   6 ++  16 files changed, 381 insertions(+), 247 deletions(-)