diff options
| author | Lennart Poettering <[email protected]> | 2020-08-10 17:16:32 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2020-08-11 13:13:06 +0000 |
| commit | fe6a8fc5ed2f0081f17375ae2005718522c392c6 (patch) | |
| tree | 47948ba52a6da02052a7627a2f91b8c37441d7fb /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
| parent | Merge branch 'md-next' of https://git.kernel.org/pub/scm/linux/kernel/git/son... (diff) | |
| download | kernel-fe6a8fc5ed2f0081f17375ae2005718522c392c6.tar.gz kernel-fe6a8fc5ed2f0081f17375ae2005718522c392c6.zip | |
loop: unset GENHD_FL_NO_PART_SCAN on LOOP_CONFIGURE
When LOOP_CONFIGURE is used with LO_FLAGS_PARTSCAN we need to propagate
this into the GENHD_FL_NO_PART_SCAN. LOOP_SETSTATUS does this,
LOOP_CONFIGURE doesn't so far. Effect is that setting up a loopback
device with partition scanning doesn't actually work when LOOP_CONFIGURE
is issued, though it works fine with LOOP_SETSTATUS.
Let's correct that and propagate the flag in LOOP_CONFIGURE too.
Fixes: 3448914e8cc5("loop: Add LOOP_CONFIGURE ioctl")
Signed-off-by: Lennart Poettering <[email protected]>
Acked-by: Martijn Coenen <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions
