diff options
| author | Kristian Klausen <[email protected]> | 2021-06-18 11:51:57 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2021-06-18 14:52:37 +0000 |
| commit | 2b9ac22b12a266eb4fec246a07b504dd4983b16b (patch) | |
| tree | 5270a0e577ef4253faa0c986af3dea48f56e500f /net/switchdev/switchdev.c | |
| parent | Merge branch 'md-next' of https://git.kernel.org/pub/scm/linux/kernel/git/son... (diff) | |
| download | kernel-2b9ac22b12a266eb4fec246a07b504dd4983b16b.tar.gz kernel-2b9ac22b12a266eb4fec246a07b504dd4983b16b.zip | |
loop: Fix missing discard support when using LOOP_CONFIGURE
Without calling loop_config_discard() the discard flag and parameters
aren't set/updated for the loop device and worst-case they could
indicate discard support when it isn't the case (ex: if the
LOOP_SET_STATUS ioctl was used with a different file prior to
LOOP_CONFIGURE).
Cc: <[email protected]> # 5.8.x-
Fixes: 3448914e8cc5 ("loop: Add LOOP_CONFIGURE ioctl")
Signed-off-by: Kristian Klausen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
