[PATCH 17/31] block: add a sb_open_mode helper

Christian Brauner brauner at kernel.org
Wed Jun 7 01:55:20 PDT 2023


On Tue, Jun 06, 2023 at 09:39:36AM +0200, Christoph Hellwig wrote:
> Add a helper to return the open flags for blkdev_get_by* for passed in
> super block flags instead of open coding the logic in many places.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> ---

Looks good to me,
Acked-by: Christian Brauner <brauner at kernel.org>



More information about the linux-mtd mailing list