]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - net/socket.c
net: Use helper function fdput()
authorMiaohe Lin <linmiaohe@huawei.com>
Thu, 6 Aug 2020 11:52:24 +0000 (19:52 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 8 Aug 2020 21:19:16 +0000 (14:19 -0700)
commit6b07edebe6d31529346e553a7b309bc5251da712
tree9a98ef07492b56330155050a1ee854820244e333
parentd02cbc46136105cf86f84ac355e16f04696f538d
net: Use helper function fdput()

Use helper function fdput() to fput() the file iff FDPUT_FPUT is set.

Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/socket.c