]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit592b6999e330bdadaa8446e403a3aad490287b33
tree9a98ef07492b56330155050a1ee854820244e333
parentce0065fbb5fe127f8ecb673eb8231ea0b9735b7c
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