summaryrefslogtreecommitdiff
path: root/drivers/block/swim.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-01-03 17:24:08 +0100
committerJens Axboe <axboe@kernel.dk>2022-01-03 21:24:34 -0700
commitd5dbcca70182501bed99de85c224cef04c38ed92 (patch)
tree6d37b9f276c5963926fb370d47fb684e4b521c79 /drivers/block/swim.c
parent498860df8edc069ba63449891e531706594f6791 (diff)
pktcdvd: convert to use attribute groups
There is no need to create kobject children of the pktcdvd device just to display a subdirectory name. Instead, use a named attribute group which removes the extra kobjects and also fixes the userspace race where the device is created yet tools like libudev can not see the attributes as they think the subdirectories are some other sort of device. Cc: linux-block@vger.kernel.org Cc: Jens Axboe <axboe@kernel.dk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Link: https://lore.kernel.org/r/20220103162408.742003-1-gregkh@linuxfoundation.org Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/swim.c')
0 files changed, 0 insertions, 0 deletions