summaryrefslogtreecommitdiff
path: root/fs/fuse
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-07-01 11:16:37 +0300
committerJens Axboe <axboe@kernel.dk>2021-07-01 19:21:24 +0300
commit498dcc13fd6463de29b94e160f40ed04d5477cd8 (patch)
treefac09e7780f90adc89db1d48fa7140a37e11af70 /fs/fuse
parent2b7a8dc06d0f840345ae3c7ed6f9d55962b5f54a (diff)
downloadlinux-498dcc13fd6463de29b94e160f40ed04d5477cd8.tar.xz
block: grab a device refcount in disk_uevent
Sending uevents requires the struct device to be alive. To ensure that grab the device refcount instead of just an inode reference. Fixes: bc359d03c7ec ("block: add a disk_uevent helper") Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20210701081638.246552-2-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/fuse')
0 files changed, 0 insertions, 0 deletions