Re: [PATCH 02/21] block: remove __bdevname

Theodore Y. Ts'o
2020-03-13T14:19:49Z

On Thu, Mar 12, 2020 at 04:19:20PM +0100, Christoph Hellwig wrote:
> There is no good reason for __bdevname to exist. Just open code
> printing the string in the callers. For three of them the format
> string can be trivially merged into existing printk statements,
> and in init/do_mounts.c we can at least do the scnprintf once at
> the start of the function, and unconditional of CONFIG_BLOCK to
> make the output for tiny configfs a little more helpful.
>
> Signed-off-by: Christoph Hellwig <hch@lst.de>