diff options
| author | Miaohe Lin <linmiaohe@huawei.com> | 2020-08-06 19:53:16 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-08-21 10:53:03 +0200 |
| commit | f1f8c3303a663e2f685c4d6842e8b2832c67b3cf (patch) | |
| tree | 49c2891d6de9d0614e26f164cfb25d6c5410b5a1 /include/linux/debugobjects.h | |
| parent | de7c8ab8cb412d21ffdac94a99ef2f29f7802fd1 (diff) | |
net: Set fput_needed iff FDPUT_FPUT is set
[ Upstream commit ce787a5a074a86f76f5d3fd804fa78e01bfb9e89 ]
We should fput() file iff FDPUT_FPUT is set. So we should set fput_needed
accordingly.
Fixes: 00e188ef6a7e ("sockfd_lookup_light(): switch to fdget^W^Waway from fget_light")
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
