aboutsummaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2024-05-02 15:00:33 +0200
committerJens Axboe <[email protected]>2024-05-03 09:00:07 -0600
commita4217c6740dc64a3eb6815868a9260825e8c68c6 (patch)
treeac4fd5788f1296cb88329bd6ef2595b269711328 /rust/helpers/helpers.c
parent140ce28dd3bee8e53acc27f123ae474d69ef66f0 (diff)
block: add a partscan sysfs attribute for disks
Userspace had been unknowingly relying on a non-stable interface of kernel internals to determine if partition scanning is enabled for a given disk. Provide a stable interface for this purpose instead. Cc: [email protected] # 6.3+ Depends-on: 140ce28dd3be ("block: add a disk_has_partscan helper") Signed-off-by: Christoph Hellwig <[email protected]> Link: https://lore.kernel.org/linux-block/ZhQJf8mzq_wipkBH@gardel-login/ Link: https://lore.kernel.org/r/[email protected] [axboe: add links and commit message from Keith] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions