diff options
| author | Stefan Haberland <sth@linux.ibm.com> | 2025-11-26 17:06:31 +0100 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2025-11-26 10:14:16 -0700 |
| commit | c943bfc6afb8d0e781b9b7406f36caa8bbf95cb9 (patch) | |
| tree | 14fe450c95639e08da4e1abeeee4fa092dbd8717 /tools/lib/python/jobserver.py | |
| parent | 7d09a8e25121a20214558d013b31e17ff84b004d (diff) | |
s390/dasd: Fix gendisk parent after copy pair swap
After a copy pair swap the block device's "device" symlink points to
the secondary CCW device, but the gendisk's parent remained the
primary, leaving /sys/block/<dasdx> under the wrong parent.
Move the gendisk to the secondary's device with device_move(), keeping
the sysfs topology consistent after the swap.
Fixes: 413862caad6f ("s390/dasd: add copy pair swap capability")
Cc: stable@vger.kernel.org #6.1
Reviewed-by: Jan Hoeppner <hoeppner@linux.ibm.com>
Signed-off-by: Stefan Haberland <sth@linux.ibm.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/lib/python/jobserver.py')
0 files changed, 0 insertions, 0 deletions
