Re: [dm-devel] [PATCH 15/45] block: change the hash used for looking up block devices

2020-11-29 Thread Hannes Reinecke
On 11/28/20 5:14 PM, Christoph Hellwig wrote: Adding the minor to the major creates tons of pointless conflicts. Just use the dev_t itself, which is 32-bits and thus is guaranteed to fit into ino_t. Signed-off-by: Christoph Hellwig Reviewed-by: Greg Kroah-Hartman Reviewed-by: Jan Kara

[dm-devel] [PATCH 15/45] block: change the hash used for looking up block devices

2020-11-28 Thread Christoph Hellwig
Adding the minor to the major creates tons of pointless conflicts. Just use the dev_t itself, which is 32-bits and thus is guaranteed to fit into ino_t. Signed-off-by: Christoph Hellwig Reviewed-by: Greg Kroah-Hartman Reviewed-by: Jan Kara Acked-by: Tejun Heo --- fs/block_dev.c | 26