summaryrefslogtreecommitdiff
path: root/fs/autofs4/inode.c
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2016-07-02 11:00:14 +0200
committerDavid S. Miller <davem@davemloft.net>2016-07-02 15:21:17 -0400
commitbbf2a4757b307b6ba64c0f4cce97e6993703d53d (patch)
tree5240af2aa7a7becdd26dd38b41b6f63d1a71ca08 /fs/autofs4/inode.c
parent69c407aaf902f8761a9a121012225d08efe4fbaa (diff)
mlxsw: spectrum: Initialize ports at the end of init sequence
During ports initialization a net device is registered for each available port, which implies the port is usable. However, a port is only usable after the different parts of the device (e.g. flooding, buffers) are initialized. This is especially important now, when we must initialize the router before the ports, as otherwise the device can't be initialized. Solve that by initializing the switch ports at the end of init sequence. Also, remove an unnecessary warning about port up/down events, which would otherwise be invoked whenever removing the driver, as ports are removed before unregistering the listener for these events. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/autofs4/inode.c')
0 files changed, 0 insertions, 0 deletions