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

Martin K. Petersen martin.petersen at oracle.com
Wed Aug 26 17:25:11 PDT 2015


>>>>> "Keith" == Busch, Keith <keith.busch at intel.com> writes:

Keith> The blk_get_integrity check is necessary to prevent a kernel
Keith> crash. Without it, this function will return a template disk
Keith> without integrity and later attempt to register a NULL
Keith> disk->integrity.

Fixed that up.

Keith> Otherwise, looks good! I will post the nvme driver patch removing
Keith> the two pass disk revalidation since that's no longer necessary
Keith> with this good stuff.

I tweaked that while I was at it. Updated patch 5 coming...

-- 
Martin K. Petersen	Oracle Linux Engineering



More information about the Linux-nvme mailing list