diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2025-01-09 16:47:20 +0300 |
---|---|---|
committer | Mikulas Patocka <mpatocka@redhat.com> | 2025-01-18 00:05:39 +0300 |
commit | 6942348d1bbdb612bc14025cab467fd1f012abe8 (patch) | |
tree | be8cbb20a0a9e0e019e68194ac080c8928d9b18d /scripts/lib/kdoc/kdoc_files.py | |
parent | c3a1f2ef72a97a79410c566022c5ea962f815ed9 (diff) | |
download | linux-6942348d1bbdb612bc14025cab467fd1f012abe8.tar.xz |
dm: remove useless test in alloc_multiple_bios
The test gfp_flag & GFP_NOWAIT was always true, because both GFP_NOIO and
GFP_NOWAIT include the flag __GFP_KSWAPD_RECLAIM. Luckily, this oversight
didn't result in any harm; the loop always started with "try = 0".
This patch removes the faulty test and explicitly starts the loop with
"try = 0" (so that we don't hold the mutex in the first iteration).
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions