[PATCH 5/5] block: Inline blk_integrity in struct gendisk

Christoph Hellwig hch at infradead.org
Tue Jul 21 05:01:02 PDT 2015


On Tue, Jul 21, 2015 at 02:02:59AM -0400, Martin K. Petersen wrote:
>  - Moving the blk_integrity definitions to genhd.h.

You only need to move struct blk_integrity.  as that one only has a
pointer to struct blk_integrity_profile there is no need to move he
rest.

Otherwise this looks good, although eplace calls to
blk_integrity_register with a NULL integrity profile with direct calls
to blk_integrity_unregister.



More information about the Linux-nvme mailing list