Rewrite bio_map_kern using the new bio_add_* helpers and drop the
kerneldoc comment that is superfluous for an internal helper.
Signed-off-by: Christoph Hellwig
Reviewed-by: Damien Le Moal
Reviewed-by: Johannes Thumshirn
---
block/blk-map.c | 56
Looks good,
Reviewed-by: Johannes Thumshirn
On Fri, May 02, 2025 at 03:56:08AM +0900, Damien Le Moal wrote:
> > - unsigned long kaddr = (unsigned long)data;
> > - unsigned long end = (kaddr + len + PAGE_SIZE - 1) >> PAGE_SHIFT;
> > - unsigned long start = kaddr >> PAGE_SHIFT;
> > - const int nr_pages = end - start;
> > - bool is_vm
On 5/1/25 06:21, Christoph Hellwig wrote:
> Rewrite bio_map_kern using the new bio_add_* helpers and drop the
> kerneldoc comment that is superfluous for an internal helper.
>
> Signed-off-by: Christoph Hellwig
Looks good to me.
Reviewed-by: Damien Le Moal
One nit below.
> ---
> block/blk-
Rewrite bio_map_kern using the new bio_add_* helpers and drop the
kerneldoc comment that is superfluous for an internal helper.
Signed-off-by: Christoph Hellwig
---
block/blk-map.c | 56 -
1 file changed, 9 insertions(+), 47 deletions(-)
diff --gi