diff options
author | Christoph Hellwig <[email protected]> | 2024-04-17 16:47:43 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2024-04-18 09:34:34 -0600 |
commit | 752863bddacab6b5c5164b1df8c8b2e3a175ee28 (patch) | |
tree | 8b160fd02307b3d55c312a3a582b1ae08986ae48 /scripts/gdb/linux/utils.py | |
parent | 3ec4848913d695245716ea45ca4872d9dff097a5 (diff) |
block: propagate partition scanning errors to the BLKRRPART ioctl
Commit 4601b4b130de ("block: reopen the device in blkdev_reread_part")
lost the propagation of I/O errors from the low-level read of the
partition table to the user space caller of the BLKRRPART.
Apparently some user space relies on, so restore the propagation. This
isn't exactly pretty as other block device open calls explicitly do not
are about these errors, so add a new BLK_OPEN_STRICT_SCAN to opt into
the error propagation.
Fixes: 4601b4b130de ("block: reopen the device in blkdev_reread_part")
Reported-by: Saranya Muruganandam <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Reviewed-by: Shin'ichiro Kawasaki <[email protected]>
Tested-by: Shin'ichiro Kawasaki <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions