Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp993638lqt; Fri, 7 Jun 2024 05:16:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWapyMUK/yNXQQldyVMzHT8GSEql5FRWyy08/rZ1nuGSUco/clvSbKVjGtKRGVf8mydu0bHTHfOuYePzF5esAkXE+iezyQwp5U8JhCLLw== X-Google-Smtp-Source: AGHT+IFCbu97eNLWFAZi6Urmtc8P6YPFEwtxhN6UaxXSqjTRMhxIqGmfJ3yDLFzA4mM661l1Is95 X-Received: by 2002:a05:622a:1449:b0:440:25f2:4af3 with SMTP id d75a77b69052e-44041c139f4mr23479711cf.45.1717762609496; Fri, 07 Jun 2024 05:16:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717762609; cv=pass; d=google.com; s=arc-20160816; b=MsASYY2Krk2Br3zhL5/p0PPal2NOevz/W5tNZ5aESyXaYQe0PjxJ9RvWupZuVDy4MJ Fl3S64xkaNfbL8X9hLxOcBdptFcIkA/MbZI0PrW24L9QbgMFv8Hvrh+MC8t5wUYr6LkD lxYjHXvBp3lwB1d5JFZywPlIpb+0AlbtdS1D3MVihL5XNsmzF5J8TrL4j1cmcZT222wQ s8U3gNybrRTfFQCZg7mE4j89YriyUqWBPd0RVSIalV3zdVX6HN4cJLnU/ihFbLg+GRv1 Q5TJ6kMLObm1Z5gnE3pJk/YQRerdt6RMs1vY0KeoiWdY/H1EBaIDPQGfkXRVg9uZx/z8 uVTw== 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=fGX3LJWvmJiBdb0H+MRYhaCDPeTRkfcYEhh/amy+hjk=; fh=xoZo938iZo6Zo9BQRi1y1Y/2pdszedQYQQiMhZQzvOk=; b=ZInfZS+RTl15INVp1/JaD9qXGgu+3hKAyd99jZ2bOTPZgOxRXPTWv6DeBql44daCQN 0mnJN0SPh++wBXmDDy362PP4xXzRsomR7/I+WSvSbM6xAH7/Vq2ScunIVzMUHDWLtFbH JdMsGYxhgq1LR1IGobS15SA+Ww8MEH5TWHkVnR30orWqujEVGaqORMyg/Oih4V6CCUzv 1H9xhwXLGre3U8qfMhsaMdFop1ImFTKugjLaUVgY/T3BeoAyOmZqmML6q6WQ38LfL0H7 5RqudDBheHzlnCeingtNkX9oTfd3wHYJixNW/zodWAxWrrYSqhXfMHfkgVD/EqncgkFp h1cw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@paragon-software.com header.s=mail header.b=TuFhbLCE; dkim=pass header.i=@paragon-software.com header.s=mail header.b=u+COEebs; 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-205995-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-205995-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. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d75a77b69052e-44038b161fesi39527221cf.331.2024.06.07.05.16.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jun 2024 05:16:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-205995-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@paragon-software.com header.s=mail header.b=TuFhbLCE; dkim=pass header.i=@paragon-software.com header.s=mail header.b=u+COEebs; 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-205995-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-205995-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 392511C2287F for ; Fri, 7 Jun 2024 12:16:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 23FD7194094; Fri, 7 Jun 2024 12:16:17 +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="TuFhbLCE"; dkim=pass (1024-bit key) header.d=paragon-software.com header.i=@paragon-software.com header.b="u+COEebs" 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 EC370192B6A; Fri, 7 Jun 2024 12:16: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=1717762576; cv=none; b=NfOSDgjre2dyAuhrh86991Kk7zQ75RBPKpD+cK5ym07odV07WvNdz3fFtFB4kd7RdO/rHOswe6iQX9Q24C+9V3UlFTYfUY8kenbULQsgqFBVJbghyj65vbZ9rWgUl3DE1j+7KYi4X5oZwLWS6WdAktWyzsHrzrCpX6HZ639z/Z0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717762576; c=relaxed/simple; bh=bdc7v58U5+YV3a/IoeHMrgpoIua9Z6Fq3QWkfoSP3PU=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=szl6aFqyco7UXYujHN4kzBk8nna/q83q3GD4sN/UtDznbCAOufvSFsW+D/Rza+BAg5RVGtgbMX36xNhltR70piFpVdi+ezcaDjl0Ov6CPfI7ZM1t+AcgL/VV+c/AaJ8UM9GVDl26c+ecdGc+2Tz7sCcQqwpZ4wYQs+6qIq0+CmU= 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=TuFhbLCE; dkim=pass (1024-bit key) header.d=paragon-software.com header.i=@paragon-software.com header.b=u+COEebs; 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 4CF8A2117; Fri, 7 Jun 2024 12:08:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paragon-software.com; s=mail; t=1717762098; bh=fGX3LJWvmJiBdb0H+MRYhaCDPeTRkfcYEhh/amy+hjk=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=TuFhbLCE8i0x0ddVOmat7uFqkzGS1GP/vhjvUUXb8T0JwTUeqnl5RDYodMtIAxt/y 7+WrIzba4yyidYkLp27aOhJ/y3lYl/MYQMiOESUrkoxXlY8I6MeJDa4jpVCQ6I/+Ay NECtFXXke3LKXmQ6yjz68kjZLDfOf2DJyPKcoYT8= 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 30766195; Fri, 7 Jun 2024 12:16:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paragon-software.com; s=mail; t=1717762572; bh=fGX3LJWvmJiBdb0H+MRYhaCDPeTRkfcYEhh/amy+hjk=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=u+COEebs+OlPEuYDJfV+IZ+YkWEkhYSGN1h6Yh2mLjuGt+xqtS4WR18+DJu2Jmwfd esTFccXsru7pGmrWK5vx9fQjCCI5+kf4jrIldSMVSHzeaUe8wJTmabruz+PWkbrzDu VA3MdBremMERJ9/GeCCTibZFkl0kTWZxOOGn5HCc= 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:11 +0300 From: Konstantin Komarov To: CC: , , Konstantin Komarov Subject: [PATCH 07/18] fs/ntfs3: Add missing .dirty_folio in address_space_operations Date: Fri, 7 Jun 2024 15:15:37 +0300 Message-ID: <20240607121548.18818-8-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) After switching from pages to folio [1], it became evident that the initialization of .dirty_folio for page cache operations was missed for compressed files. [1] https://lore.kernel.org/ntfs3/20240422193203.3534108-1-willy@infradead.org Fixes: 82cae269cfa95 ("fs/ntfs3: Add initialization of super block") Signed-off-by: Konstantin Komarov --- fs/ntfs3/inode.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/ntfs3/inode.c b/fs/ntfs3/inode.c index 2a3522bbeeb4..d43a87a79ff2 100644 --- a/fs/ntfs3/inode.c +++ b/fs/ntfs3/inode.c @@ -2131,5 +2131,6 @@ const struct address_space_operations ntfs_aops = { const struct address_space_operations ntfs_aops_cmpr = { .read_folio = ntfs_read_folio, .readahead = ntfs_readahead, + .dirty_folio = block_dirty_folio, }; // clang-format on -- 2.34.1