diff options
author | Pavel Shilovsky <[email protected]> | 2019-11-21 11:35:12 -0800 |
---|---|---|
committer | Steve French <[email protected]> | 2019-11-25 01:14:53 -0600 |
commit | 9150c3adbf24d77cfba37f03639d4a908ca4ac25 (patch) | |
tree | b9fa0904f0d98d78aab1818c966a273bc67c462c /scripts/gen_compile_commands.py | |
parent | 44805b0e62f15e90d233485420e1847133716bdc (diff) |
CIFS: Close open handle after interrupted close
If Close command is interrupted before sending a request
to the server the client ends up leaking an open file
handle. This wastes server resources and can potentially
block applications that try to remove the file or any
directory containing this file.
Fix this by putting the close command into a worker queue,
so another thread retries it later.
Cc: Stable <[email protected]>
Tested-by: Frank Sorenson <[email protected]>
Reviewed-by: Ronnie Sahlberg <[email protected]>
Signed-off-by: Pavel Shilovsky <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'scripts/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions