Thread (42 messages) 42 messages, 7 authors, 2025-11-05

Re: [PATCH 05/11] block: call blk_integrity_add earlier in device_add_disk

From: Hannes Reinecke <hare@suse.de>
Date: 2021-08-20 06:08:59

On 8/18/21 4:45 PM, Christoph Hellwig wrote:
Doing all the sysfs file creation before adding the bdev and thus
allowing it to be opened will simplify the about to be added error
handling.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
  block/genhd.c | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)
Reviewed-by: Hannes Reinecke <hare@suse.de>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke                Kernel Storage Architect
hare@suse.de                              +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help