Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp993377lqt; Fri, 7 Jun 2024 05:16:24 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXg2L2OuKVZJmZpYvqy0QTSS0Gd4nwuTVPr2UoS4gek1VoxZrKIpiHPP8qFVe6Xkc2w5ljOnAiUGiPSgUhc0jNWCx3brj5xAMFvAcbdFA== X-Google-Smtp-Source: AGHT+IGj977/8UEPy35pLRZQBXNqeZlGZEgdOc+jKUikboieQ9Mm9dC3GkA++X8uzSyxR2vS15a9 X-Received: by 2002:a05:6808:2da:b0:3c7:8ea:11fb with SMTP id 5614622812f47-3d210d623bcmr2247507b6e.14.1717762584042; Fri, 07 Jun 2024 05:16:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717762584; cv=pass; d=google.com; s=arc-20160816; b=RIJm0Oq+yOqYFIblSq8zKtkEvairkY2UiqEOCsKbORrlfgyEQ2o9qLpWAql1m6itDk 1n87hQQUEBCLB2SbH2C9CYXowoFlypO3R2p8KQgVoU0Ql88MZle8II4dkLWpYIyOmeaA JSStYqH7OyZeq8Dr5guF70fV/16aCnpfI0N03r07C9MqxuJ25ovvzovpqf1xoMHgJcON 56sCbo3K2YJRzmTNZzPlkqDgarXCOdsKD8xv0AVI8hx7CTMcoIAimiFcv5lauQ+cJ6Tl 6VKwiQ/PR/Lr9Uc4TpXq0y00VYWDsGWpdWL21t3crL1CAvcwMaOfuXRMsnhQXXnF58Je vodg== 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:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature:dkim-signature; bh=6p1zGEnOfUC6mKbV+PZ9lD9z8S0agv4/5/6Rd6f5BCc=; fh=xoZo938iZo6Zo9BQRi1y1Y/2pdszedQYQQiMhZQzvOk=; b=om09jPExtZAKLTxdmojccwZSnE4tfuzfOzaBfdJFqyUhUwpSKsLNsPjXXzDI1pwGX6 opJDaBw7tTwDcmtwWo8F0saBswi9GaN14iWp6aDSxrlfh5u3nRikegtB2JkyYw/8vOij ZSEcA4XUEjrZVuOdvVTS6kmsxUyleymeDHpgPgk4RtNI34YhyaeJM1YEo9aD9WWh27cq mqrWr9iJ5u8q/b7MMc7r67s5Ktgdls7r5OSUlXC8d1GvmNsG3W30Ew0//5lIHIMfSvd8 pybk5cwWKLeh0fZGWW7KDUtRD7Mwj6u3a5OaTtlNsJNXRB92oa/hXCzxlKOnzKFADUz4 FxhQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@paragon-software.com header.s=mail header.b="fp0aJiW/"; dkim=pass header.i=@paragon-software.com header.s=mail header.b=The1bojn; 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-205993-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-205993-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 ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 6a1803df08f44-6b04f632b4asi37402356d6.105.2024.06.07.05.16.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jun 2024 05:16:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-205993-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@paragon-software.com header.s=mail header.b="fp0aJiW/"; dkim=pass header.i=@paragon-software.com header.s=mail header.b=The1bojn; 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-205993-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-205993-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id BACA01C23849 for ; Fri, 7 Jun 2024 12:16:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9DD0D15B107; Fri, 7 Jun 2024 12:16:14 +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="fp0aJiW/"; dkim=pass (1024-bit key) header.d=paragon-software.com header.i=@paragon-software.com header.b="The1bojn" 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 68DD0186E46; Fri, 7 Jun 2024 12:16:12 +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=1717762573; cv=none; b=BCmQmfYLBGHMpoygOfNOh+h8my1MtzKhmagwj5hMdLzH+fEFjCHzoLCuPbQdCecNALtWUYcQ++HQhlVWX4oGyLO3GSQWyIn+xIPaA2NHUx1Flu1HIcP7g9T6YL4ySvIEsFIX2Kq5CrIOrAJHBL0VPbhw4ZyQ0A4sMFjMBW7ZkDg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717762573; c=relaxed/simple; bh=YBMNvGaHXBY1iE8bR/ub81+vXUT/4Gibt/hvIi+Vp1M=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=MGEGuJGtpwC8PBtsSpiIeOEso2homK8FR3jSezWKWjk6zQNVqGopUgGfHACI8puk2aoj5X+MdcqfyBMVk/shreClflA/laVthrvo6YxwO5mJ18o1E/P/gr9p+n7AUpPHlz4jw7BWk+hY3mdu/rbc6FuTqAXVnpcG/JWE6ZFGnKk= 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=fp0aJiW/; dkim=pass (1024-bit key) header.d=paragon-software.com header.i=@paragon-software.com header.b=The1bojn; 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 4089C2111; Fri, 7 Jun 2024 12:08:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paragon-software.com; s=mail; t=1717762096; bh=6p1zGEnOfUC6mKbV+PZ9lD9z8S0agv4/5/6Rd6f5BCc=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=fp0aJiW/xHJJxTjaEmgIfFd9RpnfHUGE6eGCNRqIRjdVy572F1x3mqoPHmInh/pFR k55F3tbaJDnzmUCxNQr81KpAjFdYPNtkCBN+GfDB5jiGV3klZqFGRiRg1N0xGbdj0w CuxsJ+j377cD8y2QtCJvNthCJu8JbpUlQ8PyTA2E= 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 25341195; Fri, 7 Jun 2024 12:16:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paragon-software.com; s=mail; t=1717762570; bh=6p1zGEnOfUC6mKbV+PZ9lD9z8S0agv4/5/6Rd6f5BCc=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=The1bojn4lSM6xboNjP3TuFw29hQYrvbGbE8M+fvlvP2JS6Q3EJcwzlmrgKooApzd HJVhKvysJiMncfCeHA7sYVFQgXe+T7oNd0BDrzVshP+bpobBql2hrm+0QgZYTfnaUO As1YVQXz6lKyBsVBhigiakGK0kH5J8uGYaix7pqg= 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:09 +0300 From: Konstantin Komarov To: CC: , , Konstantin Komarov Subject: [PATCH 05/18] fs/ntfs3: Missed NI_FLAG_UPDATE_PARENT setting Date: Fri, 7 Jun 2024 15:15:35 +0300 Message-ID: <20240607121548.18818-6-almaz.alexandrovich@paragon-software.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240607121548.18818-1-almaz.alexandrovich@paragon-software.com> References: <20240607121548.18818-1-almaz.alexandrovich@paragon-software.com> 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: vdlg-exch-02.paragon-software.com (172.30.1.105) To vdlg-exch-02.paragon-software.com (172.30.1.105) Fixes: be71b5cba2e64 ("fs/ntfs3: Add attrib operations") Signed-off-by: Konstantin Komarov --- fs/ntfs3/attrib.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/ntfs3/attrib.c b/fs/ntfs3/attrib.c index 7918ab1a3f35..0d13da5523b1 100644 --- a/fs/ntfs3/attrib.c +++ b/fs/ntfs3/attrib.c @@ -1738,6 +1738,7 @@ int attr_allocate_frame(struct ntfs_inode *ni, CLST frame, size_t compr_size, attr_b->nres.total_size = cpu_to_le64(total_size); inode_set_bytes(&ni->vfs_inode, total_size); + ni->ni_flags |= NI_FLAG_UPDATE_PARENT; mi_b->dirty = true; mark_inode_dirty(&ni->vfs_inode); -- 2.34.1