[PATCH -next RFC 01/14] block: add some bdev apis

Bart Van Assche bvanassche at acm.org
Wed Dec 6 04:03:48 AEDT 2023


On 12/5/23 04:37, Yu Kuai wrote:
> +static inline u8 block_bits(struct block_device *bdev)
> +{
> +	return bdev->bd_inode->i_blkbits;
> +}

This function needs a name that's more descriptive.

Thanks,

Bart.


More information about the Linux-erofs mailing list