diff options
| author | Miklos Szeredi <[email protected]> | 2018-11-09 14:52:16 +0000 |
|---|---|---|
| committer | Miklos Szeredi <[email protected]> | 2018-11-09 14:52:16 +0000 |
| commit | 7fabaf303458fcabb694999d6fa772cc13d4e217 (patch) | |
| tree | 40e7306cf1a11f55251fd6087e615ea19259fac3 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
| parent | Linux 4.20-rc1 (diff) | |
| download | kernel-7fabaf303458fcabb694999d6fa772cc13d4e217.tar.gz kernel-7fabaf303458fcabb694999d6fa772cc13d4e217.zip | |
fuse: fix leaked notify reply
fuse_request_send_notify_reply() may fail if the connection was reset for
some reason (e.g. fs was unmounted). Don't leak request reference in this
case. Besides leaking memory, this resulted in fc->num_waiting not being
decremented and hence fuse_wait_aborted() left in a hanging and unkillable
state.
Fixes: 2d45ba381a74 ("fuse: add retrieve request")
Fixes: b8f95e5d13f5 ("fuse: umount should wait for all requests")
Reported-and-tested-by: [email protected]
Signed-off-by: Miklos Szeredi <[email protected]>
Cc: <[email protected]> #v2.6.36
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions
