loop: three small cleanups - #142
Conversation
|
Upstream branch: 66498c7 |
73750cd to
de65a3d
Compare
|
Upstream branch: 73ae59e |
f50a1bf to
f269688
Compare
de65a3d to
9af19f6
Compare
|
Upstream branch: 45c13f3 |
f269688 to
57c0932
Compare
9af19f6 to
e663f53
Compare
|
Upstream branch: 45c13f3 |
57c0932 to
3e97cff
Compare
e663f53 to
bf95b84
Compare
|
Upstream branch: 502d457 |
3e97cff to
be28b18
Compare
bf95b84 to
e023bd5
Compare
|
Upstream branch: 73e3f07 |
be28b18 to
4eeb2e7
Compare
e023bd5 to
4c6a201
Compare
|
Upstream branch: 73e3f07 |
4eeb2e7 to
bf220e9
Compare
4c6a201 to
aace569
Compare
|
Upstream branch: 18fbf51 |
bf220e9 to
ff5cd27
Compare
aace569 to
b5c1b2b
Compare
|
Upstream branch: f7e3f4d |
ff5cd27 to
2164e98
Compare
b5c1b2b to
9776a98
Compare
|
Upstream branch: bf10795 |
aa254b1 to
6348f2c
Compare
cf3d45b to
258e7d0
Compare
|
Upstream branch: abdf623 |
6348f2c to
aa873f7
Compare
258e7d0 to
76db21d
Compare
|
Upstream branch: 786262b |
aa873f7 to
1dcd89b
Compare
76db21d to
e8377ca
Compare
|
Upstream branch: 89a3129 |
1dcd89b to
3e2a8ab
Compare
|
Upstream branch: 89a3129 |
3e2a8ab to
a808fdf
Compare
e8377ca to
1fff761
Compare
|
Upstream branch: 940de59 |
a808fdf to
728ba65
Compare
1fff761 to
3595ceb
Compare
|
Upstream branch: 841e384 |
728ba65 to
d84e8ef
Compare
3595ceb to
4061e04
Compare
|
Upstream branch: a500db7 |
The kerneldoc of loop_set_size() points readers at loop_validate_size(), which does not exist in the tree. Drop the reference. Signed-off-by: Tao Cui <cuitao@kylinos.cn> Reviewed-by: Bart Van Assche <bvanassche@acm.org> Reviewed-by: Christoph Hellwig <hch@lst.de>
simple_strtol() is deprecated and swallows errors. Use kstrtoint() in the max_loop setup code; an invalid option keeps the default and now says so. Only mark max_loop_specified when the option was parsed successfully. With simple_strtol() a garbage string yields max_loop = 0, and loop_probe()'s "max_loop_specified && max_loop" check short-circuits on 0, so legacy autoloading is not capped. Keeping max_loop at its default while still setting max_loop_specified would instead turn the default into a hard upper bound for dynamic device creation. This mirrors what max_loop_param_set_int() already does for the module parameter. Signed-off-by: Tao Cui <cuitao@kylinos.cn>
lo_req_flush() never uses its request argument. Drop it. Signed-off-by: Tao Cui <cuitao@kylinos.cn> Reviewed-by: Bart Van Assche <bvanassche@acm.org> Reviewed-by: Christoph Hellwig <hch@lst.de>
d84e8ef to
d923730
Compare
4a1d19f to
d9169e2
Compare
Pull request for series with
subject: loop: three small cleanups
version: 1
url: http://redsun45:8000/project/linux-block/list/?series=717