Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp1025049pxv; Thu, 15 Jul 2021 23:13:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw3e76tPtvr8aqrEAa7oS1OQaSVmxDghTyCrrNL3PoBreH50NrMDzZxtzKfyTMX5RUEjea7 X-Received: by 2002:a5d:80cf:: with SMTP id h15mr6154511ior.30.1626415993478; Thu, 15 Jul 2021 23:13:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626415993; cv=none; d=google.com; s=arc-20160816; b=NoEV/DO3W/70fCBqeyYRNUNTbxKOPykXFrit41WlpGxtLKOU96v+i9/k12Oryez6/C vu5WvLH6/Br9NJIZKPxWXVervJYqgQX7E4TxzrjVXtW+dUTzyY9pearfxv1hbVYY/AfV NxQmvN8S2LXtJkaCdXtr6O7hz5Suu8LTDELu579Q3TezQgc1/RXZJsZfBcQrriXhS8DX yjVDWgeuwZLMWxlKtkYcEzKdkgaF8+g14Ih6bJ6pOMglbbDzGzLH4GuZJcV+cDUrRoUe YyqdN94fyY6dunaAwoccXfgM9sLjvSM/qqfCEkIkSDGVaVJxDUtMPqIzE4/NPAzcpg8x f+Ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=IdQtbe1ZGO08viiTNnFAMRph0+8sybGeAwYldlMNOdg=; b=ONmJFChQdpwiW/lV/VEdIt8ArpGTE1gv6XKhJS/BuAw2TKdUNh9w6Sw0mcRvG4h84f btT7GRI5D5tSYo5ibtxCG28oCIVW6teiJfveXFcSXtLmOJHtBnAKG1VNFF3qQsf1mkgJ uhnIGItfpS1epnoWR2DtscYtH6EAZYdweWoPl7wO30IpXviK5Dm1ygdpLJK/af+Rpq+K MF9NtLRtwOTZodfk3EGeydNOFynxxo9LYBtETZLeLb+mGrD3GerZ7oOM7I8q54VhQ9qu j6lbhTT0xBrY2AnSe+pzD8vwiSB0IBF8D/59/895ODlkh5nJ94U6PNmC27GeflH2HkSq BG1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=WqH5p42D; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x7si8759989iol.77.2021.07.15.23.13.01; Thu, 15 Jul 2021 23:13:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=WqH5p42D; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234610AbhGPGO5 (ORCPT + 99 others); Fri, 16 Jul 2021 02:14:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234591AbhGPGO4 (ORCPT ); Fri, 16 Jul 2021 02:14:56 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D6B32C061762; Thu, 15 Jul 2021 23:12:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=IdQtbe1ZGO08viiTNnFAMRph0+8sybGeAwYldlMNOdg=; b=WqH5p42DQdHnhc6uDGetJghJMu MbBPzLFCusAZZ39cKyn5TgCy4vMKiqdF0CaRdoCW3lx8Xqa+NrF7BxngD0pA+NuL7LjgbYQQSlUw6 3UpEOKX4p9gQYMfyEy+JV3mvhwkfmyLTfoq6ITjDP+4JHMGiJeA/GhffY9lmsLrtmyC6PXFlWtOOJ OTGFlYePEWMhjSk4f4dnQhY0ajgVq7jz/4/ALzF3vdg+s3NHkkEB6wC66WsCn4qNfWkaOGkbi1+f8 rtnz4uRPO5W9NkAd61LNWul/s731ZMz1Un9lHi8YEHJhbJUmwPSxGfw7Osc7wVoZxlR8EufQW/wwy ryQAJiSA==; Received: from hch by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1m4H3s-004Ccs-8a; Fri, 16 Jul 2021 06:11:12 +0000 Date: Fri, 16 Jul 2021 07:11:00 +0100 From: Christoph Hellwig To: Jia He Cc: linux-kernel@vger.kernel.org, Linus Torvalds , Christoph Hellwig , nd@arm.com, "Darrick J. Wong" , linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH RFC 07/13] iomap: simplify iomap_swapfile_fail() with '%pD' specifier Message-ID: References: <20210715031533.9553-1-justin.he@arm.com> <20210715031533.9553-8-justin.he@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210715031533.9553-8-justin.he@arm.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 15, 2021 at 11:15:27AM +0800, Jia He wrote: > After the behavior of '%pD' is change to print the full path of file, > iomap_swapfile_fail() can be simplified. > > Given the space with proper length would be allocated in vprintk_store(), > the kmalloc() is not required any more. > > Besides, the previous number postfix of '%pD' in format string is > pointless. This also touched iomap_dio_actor, but the commit og only mentions iomap_swapfile_fail.