Commit 9423c65
loop: Don't bother validating blocksize
The block queue limits validation does this for us now.
The loop_configure() -> WARN_ON_ONCE() call is dropped, as an invalid
block size would trigger this now. We don't want userspace to be able to
directly trigger WARNs.
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: John Garry <[email protected]>
Reviewed-by: Damien Le Moal <[email protected]>
Acked-by: Michael S. Tsirkin <[email protected]>
Reviewed-by: Stefan Hajnoczi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>1 parent af28172 commit 9423c65
1 file changed
+1
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1038 | 1038 | | |
1039 | 1039 | | |
1040 | 1040 | | |
1041 | | - | |
1042 | | - | |
1043 | | - | |
1044 | | - | |
1045 | | - | |
1046 | | - | |
1047 | 1041 | | |
1048 | 1042 | | |
1049 | 1043 | | |
| |||
1075 | 1069 | | |
1076 | 1070 | | |
1077 | 1071 | | |
1078 | | - | |
| 1072 | + | |
1079 | 1073 | | |
1080 | 1074 | | |
1081 | 1075 | | |
| |||
1447 | 1441 | | |
1448 | 1442 | | |
1449 | 1443 | | |
1450 | | - | |
1451 | | - | |
1452 | | - | |
1453 | | - | |
1454 | 1444 | | |
1455 | 1445 | | |
1456 | 1446 | | |
| |||
0 commit comments