commit | 612c6aa7817f1c89b6a92fc724331aa7c9d77f6e | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Mon Nov 09 17:52:02 2020 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Dec 01 14:53:39 2020 -0700 |
tree | 7a48c0f8c7a7e5533e6bba99884280cc413a341b | |
parent | efdc41c8d49fc1ff9bbef8f68f1cf1d8d59164a1 [diff] |
block: change the hash used for looking up block devices 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 <hch@lst.de> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Reviewed-by: Jan Kara <jack@suse.cz> Reviewed-by: Hannes Reinecke <hare@suse.de> Acked-by: Tejun Heo <tj@kernel.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>