Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4639281ybl; Mon, 9 Dec 2019 14:24:36 -0800 (PST) X-Google-Smtp-Source: APXvYqwgmxL46PHKMsFHltWWTdZWxiMOQ5/F8ABeJkLpf+BwfjdgtA4Yq1nAvG+/pW3DNEkz75XF X-Received: by 2002:aca:c492:: with SMTP id u140mr1290783oif.80.1575930276452; Mon, 09 Dec 2019 14:24:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575930276; cv=none; d=google.com; s=arc-20160816; b=P3QLZ6f6Z18fKwqfsA+mkIme615DEHj2UrsJK1JpdPDI0kHXqQnr89+OPBby65RSo1 4fn552ayheMnNd1iSjkkTgKGBnxgOhm3TyJalJ+55ajXY/FfY3yQI/9qteQX3/nC4Upq Oa2zu44/SHF9g7IOeUAV1UHIKOVwtMUDuzbBkGFibRbe5+2wDUU4a8cu5G7V0Moutzx4 h2GLgRS6D0m+jmj/I0UjVI0RdQ3ak3tCmlZwsBy6uyIkUJjzY2tALdPbbQfgedgk5eNT 4VhP3d+p8vda32Wx2aH+GUhLhSBGRsxLwuXv7O5RM30bgG1J470a+GYR0/a7V5YWZ6CR 18gQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=fFF7e7h3DtwxxK/I8kZqCSXjdTxklEkeVMuPrKHhILY=; b=Fze2mhxXqSvVqbh9rp9Jp9aTP7t0NaKZDY92t34+zZ+XbZf0tWb1mYp8StxkPm0o7I A6WIoIicaLchLk0LoSjptfShEfR88ZbR7opIY9OOp4Z+ri/KD1lHVKUL5YJVREWvh/Fk lKf8Ufb+nn///CTQwPdHpKFPDolYhUxRYiDwiFMCJO8Wl2PMSRVLR+PraIgTs23Jul6A Nr9T2rhznrPO+AFFM5avz+hiFag08f/NLmHwx65MwggCNN+c1cweL4dM2KMhc1FcnMlV SQjv6OqqiKBFQWQowKnOerw/1KBGZtAtrkpTKBCaJ5Yemgfctjne0lchAG/oFIFmNhhB ptZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=jaE8O8zr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y186si798251oig.241.2019.12.09.14.24.22; Mon, 09 Dec 2019 14:24:36 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=jaE8O8zr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727004AbfLIWXv (ORCPT + 99 others); Mon, 9 Dec 2019 17:23:51 -0500 Received: from mail.kernel.org ([198.145.29.99]:40590 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726958AbfLIWXt (ORCPT ); Mon, 9 Dec 2019 17:23:49 -0500 Received: from localhost (unknown [104.132.0.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 639452073D; Mon, 9 Dec 2019 22:23:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1575930229; bh=ykugJ2eieunWA0CHzN374ybGGCg0r8ToS1fcjPjb/xY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jaE8O8zr+C2s+h1/Su5IFdcLdGo1d/EsWYL0LkzG32xL+47VVnA8rHlpdUBQyx9NK hnd3BGA3BzIXiFS4p8L6kT7R19G0PJeJJQclA6YRjUq5+sA9Dk60cluMI1cjx838Fh ljvQKHDdjL/I+1sCOQhBYFyyah9LzukZCv2ddKRU= From: Jaegeuk Kim To: linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net Cc: Jaegeuk Kim Subject: [PATCH 5/6] f2fs: set GFP_NOFS when moving inline dentries Date: Mon, 9 Dec 2019 14:23:44 -0800 Message-Id: <20191209222345.1078-5-jaegeuk@kernel.org> X-Mailer: git-send-email 2.19.0.605.g01d371f741-goog In-Reply-To: <20191209222345.1078-1-jaegeuk@kernel.org> References: <20191209222345.1078-1-jaegeuk@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Otherwise, it can cause circular locking dependency reported by mm. Signed-off-by: Jaegeuk Kim --- fs/f2fs/inline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/f2fs/inline.c b/fs/f2fs/inline.c index 896db0416f0e..52f85ed07a15 100644 --- a/fs/f2fs/inline.c +++ b/fs/f2fs/inline.c @@ -368,7 +368,7 @@ static int f2fs_move_inline_dirents(struct inode *dir, struct page *ipage, struct f2fs_dentry_ptr src, dst; int err; - page = f2fs_grab_cache_page(dir->i_mapping, 0, false); + page = f2fs_grab_cache_page(dir->i_mapping, 0, true); if (!page) { f2fs_put_page(ipage, 1); return -ENOMEM; -- 2.19.0.605.g01d371f741-goog