[dm-devel] [PATCH 1/4] brd: make brd_insert_page return bool

Christoph Hellwig hch at infradead.org
Tue Sep 20 07:28:06 UTC 2022


On Fri, Sep 16, 2022 at 04:59:19AM -0400, Mikulas Patocka wrote:
> brd_insert_page returns a pointer to struct page, however the pointer is
> never used (it is only compared against NULL), so to clean-up the code, we
> make it return bool.

Looks good:

Reviewed-by: Christoph Hellwig <hch at lst.de>



More information about the dm-devel mailing list