Re: [dm-devel] [PATCH 16/45] block: switch bdgrab to use igrab

2020-11-30 Thread Johannes Thumshirn
Reviewed-by: Johannes Thumshirn -- dm-devel mailing list dm-devel@redhat.com https://www.redhat.com/mailman/listinfo/dm-devel

Re: [dm-devel] [PATCH 16/45] block: switch bdgrab to use igrab

2020-11-30 Thread Jan Kara
On Sat 28-11-20 17:14:41, Christoph Hellwig wrote: > All of the current callers already have a reference, but to prepare for > additional users ensure bdgrab returns NULL if the block device is beeing ^^^ being > freed. > > Sign

Re: [dm-devel] [PATCH 16/45] block: switch bdgrab to use igrab

2020-11-29 Thread Hannes Reinecke
On 11/28/20 5:14 PM, Christoph Hellwig wrote: All of the current callers already have a reference, but to prepare for additional users ensure bdgrab returns NULL if the block device is beeing freed. Signed-off-by: Christoph Hellwig --- fs/block_dev.c | 6 +- 1 file changed, 5 insertions(

[dm-devel] [PATCH 16/45] block: switch bdgrab to use igrab

2020-11-28 Thread Christoph Hellwig
All of the current callers already have a reference, but to prepare for additional users ensure bdgrab returns NULL if the block device is beeing freed. Signed-off-by: Christoph Hellwig --- fs/block_dev.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/fs/block_dev.c b/f