summaryrefslogtreecommitdiff
path: root/fs/kernfs
diff options
context:
space:
mode:
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>2017-05-19 17:00:36 -0400
committerDavid S. Miller <davem@davemloft.net>2017-05-22 19:37:32 -0400
commitfd364541319749c9880bf3ad613eac80fc6ea91e (patch)
tree80db28f244cc07501240bc2e008c3d31baf7554c /fs/kernfs
parent0172397e2fcc29dc803c7d0b22aa2a25e4b02991 (diff)
downloadlwn-fd364541319749c9880bf3ad613eac80fc6ea91e.tar.gz
lwn-fd364541319749c9880bf3ad613eac80fc6ea91e.zip
net: dsa: change scope of STP state setter
Instead of having multiple STP state helpers scoping a slave device supporting both the DSA logic and the switchdev binding, provide a single dsa_port_set_state helper scoping a DSA port, as well as its dsa_port_set_state_now wrapper which skips the prepare phase. This allows us to better separate the DSA logic from the slave device handling. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/kernfs')
0 files changed, 0 insertions, 0 deletions