Skip to content
Commit 7198bfc2 authored by Jens Axboe's avatar Jens Axboe
Browse files

Revert "nbd: fix possible overflow on 'first_minor' in nbd_dev_add()"

This reverts commit 6d35d04a.

Both Gabriel and Borislav report that this commit casues a regression
with nbd:

sysfs: cannot create duplicate filename '/dev/block/43:0'

Revert it before 5.18-rc1 and we'll investigage this separately in
due time.

Link: https://lore.kernel.org/all/YkiJTnFOt9bTv6A2@zn.tnic/


Reported-by: default avatarGabriel L. Somlo <somlo@cmu.edu>
Reported-by: default avatarBorislav Petkov <bp@alien8.de>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 2651ee5a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment