]> git.baikalelectronics.ru Git - kernel.git/commit
net: make __sys_accept4_file() static
authorYajun Deng <yajun.deng@linux.dev>
Fri, 10 Jun 2022 09:10:17 +0000 (17:10 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Jun 2022 12:47:15 +0000 (13:47 +0100)
commitc3120f60f8bc211d5f72e88e6b22e5e153daa368
treee5c57e092ab7d38608e85330482d39da69278126
parent08c1c1f449b1aa74e7a7ad6216a218e60846a6d9
net: make __sys_accept4_file() static

__sys_accept4_file() isn't used outside of the file, make it static.

As the same time, move file_flags and nofile parameters into
__sys_accept4_file().

Signed-off-by: Yajun Deng <yajun.deng@linux.dev>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/socket.h
net/socket.c