net: change init_inodecache() return void
authoryuan linyu <Linyu.Yuan@alcatel-sbell.com.cn>
Sat, 7 Jan 2017 09:18:31 +0000 (17:18 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Jan 2017 17:05:29 +0000 (12:05 -0500)
commit1e9116327e1dbbf33fcb539c977ff39e1c680e6c
tree95afb60289c0c10cc14020da2a296ad4127abe1c
parent4289e60cb056ccae4311197d8a4a798aca0f8e55
net: change init_inodecache() return void

sock_init() call it but not check it's return value,
so change it to void return and add an internal BUG_ON() check.

Signed-off-by: yuan linyu <Linyu.Yuan@alcatel-sbell.com.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/socket.c