]> 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)
commitb72a691738dea92bef93f591f186201c692edbba
tree9a98ef07492b56330155050a1ee854820244e333
parent3b893a9cdb132c617918f83d2b8c195a92eef69a
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