Re: [PATCH 11/29] md: Convert to bdev_open_by_dev()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Aug 11, 2023 at 3:05 PM Jan Kara <jack@xxxxxxx> wrote:
[...]
> diff --git a/drivers/md/md.h b/drivers/md/md.h
> index 1aef86bf3fc3..e8108845157b 100644
> --- a/drivers/md/md.h
> +++ b/drivers/md/md.h
> @@ -59,6 +59,7 @@ struct md_rdev {
>          */
>         struct block_device *meta_bdev;
>         struct block_device *bdev;      /* block device handle */
> +       struct bdev_handle *bdev_handle;        /* Handle from open for bdev */

With bdev_handle, we should eventually get rid of md_rdev->bdev.
But that can be done in a separate patch.

Acked-by: Song Liu <song@xxxxxxxxxx>

>
>         struct page     *sb_page, *bb_page;
>         int             sb_loaded;
> --
> 2.35.3
>




[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux