Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp994854lqt; Fri, 7 Jun 2024 05:19:00 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXJ4wLqA0xWQVvN2RRyXQPQg35m7weXJcJIuCjrNidpP0VeRG3bO7ponwGOjLzC9VMSoEq1DGh5rbwdIA10OJayYm83aWT/AnFl3LbPow== X-Google-Smtp-Source: AGHT+IF/OFuEYjUpAs8TDGHO2TIuFkmXz9Ak6e0M4H9lnygul+3aWx3ImkTbP/BZyILmIRh9Nyjs X-Received: by 2002:a05:6a20:3d86:b0:1b1:ce04:e80a with SMTP id adf61e73a8af0-1b2f97dd182mr2634761637.13.1717762740275; Fri, 07 Jun 2024 05:19:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717762740; cv=pass; d=google.com; s=arc-20160816; b=Qh+1791Hb3ZbDr1Luv6izGf/2TPYc2iFz3lkkooPl9N0gbsFAShNukrATs4bmB+aHZ IpNPmP778T0RdgRhz4SBN8t9lmYI8PQiRR9KSdlorJER9kesvDKp3TDfd+A1lP0fLzw0 QMr0jWHY6amdWRSzcC+Fk76P/jR5gsUk6q8GsTf/AyjyX4kML4T06/2SR3Zz9/0CJgF1 Bk50fb0lOEzdJjRXxb2X91QJ3Vcjel04CovSFvxelBsNWxHPV6N1HQjxHB8fxPpDrjxc KLig2GsOHgpwRxpteHYJJWTkLGLGih+thDRI2Fk1Wf5qcwudqy+ewFXKR6C61nw07y6D yBNA== 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=vVAUSjzFV74Wpp24l92pd4CdaVxe69nKA4VMgiDOHv0=; fh=xoZo938iZo6Zo9BQRi1y1Y/2pdszedQYQQiMhZQzvOk=; b=eXjVgiDMD+O+jWAlRNVfDK5mSa6uwLe5ccWJglSv7X/99BNsKVtdVDINH5fQ3Zk+Ie ESuyyvaKk0sBJRnTNG+/40v291ydri4eclkXJ4Z1g12UNoKvvwYu9S2VYFzvUHZCol/A I3LCRN1m+vkucqFicfYjeulrGuzP7abkCIQkrkPPtQXHMrCrvLELYMsOT0OQ0en4AqnY R+La5Xn+qqJ01RZ8PSGGvjpaVlRwERsv5qWlLUr232jKFLr1JezyLGhIgYuI0WwlB/qs hiPaARojwmLvWOUpw9BsB/H57jEdFn2xmgGJyB1Z+QJY6oAnxA59V/U44Zn1OzdROENq ScQQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@paragon-software.com header.s=mail header.b=gIGVhle3; dkim=pass header.i=@paragon-software.com header.s=mail header.b=i99mM42n; 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-206003-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-206003-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 41be03b00d2f7-6de2083261asi2325939a12.174.2024.06.07.05.19.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jun 2024 05:19:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-206003-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=gIGVhle3; dkim=pass header.i=@paragon-software.com header.s=mail header.b=i99mM42n; 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-206003-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-206003-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 DC724283935 for ; Fri, 7 Jun 2024 12:18:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4904E19753D; Fri, 7 Jun 2024 12:16:27 +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="gIGVhle3"; dkim=pass (1024-bit key) header.d=paragon-software.com header.i=@paragon-software.com header.b="i99mM42n" 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 27588195808; Fri, 7 Jun 2024 12:16:25 +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=1717762586; cv=none; b=PG+SynQUnuJ6+gZwXoXQK0frT/p5UQIatsIa23xqTiOAhVaOAXG5owwIiwS9WKphOW1nKFO1QNy1Zeg4e7PP45xSBx/0yAAqWjYlwTxrvMYKGCt1d1AXYMVzcoaUvnIr0qkA4un/a918GDoG91DUnJEWY/XiBzFnYSnkeHX8s8w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717762586; c=relaxed/simple; bh=5kjkfThvuQA69/cISjSLIfgcj+LkJZeORavkgbHvrf4=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=L0WtQcFQiC5/H8Su7fAiwEuGdXGSSJmn3awCcBVdTTBlIM/w5lqcajyE5UVmsfUnZNijVpkeacJv6NIXSjy/a8rYF5My7l06cg/fliBL2DpWqJqYUKsmC5ojkM3iu2HloO31LyEMkl0t2e/RIyk8cWDSY/pbtbDwCCc0sRrYcoQ= 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=gIGVhle3; dkim=pass (1024-bit key) header.d=paragon-software.com header.i=@paragon-software.com header.b=i99mM42n; 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 7F39F2111; Fri, 7 Jun 2024 12:08:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paragon-software.com; s=mail; t=1717762109; bh=vVAUSjzFV74Wpp24l92pd4CdaVxe69nKA4VMgiDOHv0=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=gIGVhle32vQyUOIxlJavOPxkw55gqCD3WVSANt92+1MXooz9Q3ZeCzpE77Hf9bNw7 14byoUlbRLg6sA4ldbzPCehcztG1faO/VGsWTQMVlKh5AzatpWa1huNJVapS7rPDw/ OeDmiNdrf+2XmPMe+KnXJcyq1Cmu9T+zBeOYGI0I= 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 63FF2195; Fri, 7 Jun 2024 12:16:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paragon-software.com; s=mail; t=1717762583; bh=vVAUSjzFV74Wpp24l92pd4CdaVxe69nKA4VMgiDOHv0=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=i99mM42nD/tKucft2XWC/ek4ljynfG1A2cLP7UbllwuqJb7YIYvvQvqPlXFpaz0Ms iqKiK59uUeJjfUCyi0lS+gjHCb6XXdsPhxYzuzElPoCeMe0id7IdGDxrYKDmrW3y9Q v1vt+LWn6KhGmz71Xf5zbfwC3ok2RGeFtO6hz5qo= 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:22 +0300 From: Konstantin Komarov To: CC: , , Konstantin Komarov Subject: [PATCH 15/18] fs/ntfs3: Remove sync_blockdev_nowait() Date: Fri, 7 Jun 2024 15:15:45 +0300 Message-ID: <20240607121548.18818-16-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) Flush the file mapping directly. Signed-off-by: Konstantin Komarov --- fs/ntfs3/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ntfs3/inode.c b/fs/ntfs3/inode.c index f3f6af10a586..46130cbd08d4 100644 --- a/fs/ntfs3/inode.c +++ b/fs/ntfs3/inode.c @@ -1093,7 +1093,7 @@ int ntfs_flush_inodes(struct super_block *sb, struct inode *i1, if (!ret && i2) ret = writeback_inode(i2); if (!ret) - ret = sync_blockdev_nowait(sb->s_bdev); + ret = filemap_flush(sb->s_bdev_file->f_mapping); return ret; } -- 2.34.1