[PATCH 13/31] bcache: don't pass a stack address to blkdev_get_by_path
Hannes Reinecke
hare at suse.de
Wed Jun 7 05:23:17 PDT 2023
On 6/6/23 09:39, Christoph Hellwig wrote:
> sb is just an on-stack pointer that can easily be reused by other calls.
> Switch to use the bcache-wide bcache_kobj instead as there is no need to
> claim per-bcache device anyway.
>
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> ---
> drivers/md/bcache/super.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Reviewed-by: Hannes Reinecke <hare at suse.de>
Cheers,
Hannes
More information about the Linux-nvme
mailing list