Re: [PATCH RFC 07/13] iomap: simplify iomap_swapfile_fail() with '%pD' specifier
From: Christoph Hellwig <hch@infradead.org>
Date: 2021-07-16 06:12:04
Also in:
linux-fsdevel, lkml
From: Christoph Hellwig <hch@infradead.org>
Date: 2021-07-16 06:12:04
Also in:
linux-fsdevel, lkml
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.