summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2023-01-06 12:17:09 +0800
committerJens Axboe <axboe@kernel.dk>2023-01-29 15:18:34 -0700
commitabb864d380854b5427b6b070beb2ebc291ce4d1e (patch)
treea044138fccf58aebdb0b0b04814f27878dd742f1 /net/lapb/lapb_timer.c
parentbfbcef036396a73fbf4b3fee385cc670159df5ad (diff)
ublk_drv: add device parameter UBLK_PARAM_TYPE_DEVT
Userspace side only knows device ID, but the associated path of ublkc* and ublkb* could be changed by udev, and that depends on userspace's policy, so add parameter of UBLK_PARAM_TYPE_DEVT for retrieving major/minor of the ublkc* and ublkb*, then user may figure out major/minor of the ublk disks he/she owns. With major/minor, it is easy to find the device node path. Signed-off-by: Ming Lei <ming.lei@redhat.com> Link: https://lore.kernel.org/r/20230106041711.914434-5-ming.lei@redhat.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions