diff options
| author | Chuck Lever <[email protected]> | 2024-10-29 19:27:19 +0000 |
|---|---|---|
| committer | Chuck Lever <[email protected]> | 2024-10-30 18:12:16 +0000 |
| commit | 8286f8b622990194207df9ab852e0f87c60d35e9 (patch) | |
| tree | c46b039e8685c4947c0c488918f3ea10edd13895 /rust/helpers/helpers.c | |
| parent | NFSD: Initialize struct nfsd4_copy earlier (diff) | |
| download | kernel-8286f8b622990194207df9ab852e0f87c60d35e9.tar.gz kernel-8286f8b622990194207df9ab852e0f87c60d35e9.zip | |
NFSD: Never decrement pending_async_copies on error
The error flow in nfsd4_copy() calls cleanup_async_copy(), which
already decrements nn->pending_async_copies.
Reported-by: Olga Kornievskaia <[email protected]>
Fixes: aadc3bbea163 ("NFSD: Limit the number of concurrent async COPY operations")
Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
