Re: [PATCH RFC 07/13] iomap: simplify iomap_swapfile_fail() with '%pD' specifier

From: Christoph Hellwig
Date: Fri Jul 16 2021 - 02:12:10 EST


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.