hsr: rename debugfs file when interface name is changed
authorTaehee Yoo <ap420073@gmail.com>
Sun, 22 Dec 2019 11:26:39 +0000 (11:26 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Dec 2019 00:35:35 +0000 (16:35 -0800)
commit4c2d5e33dcd3a6333a7895be3b542ff3d373177c
tree1eb30b9f692699b85ddf74edbfd8ce7b9641ce5d
parentc6c4ccd7f96993e106dfea7ef18127f972f2db5e
hsr: rename debugfs file when interface name is changed

hsr interface has own debugfs file, which name is same with interface name.
So, interface name is changed, debugfs file name should be changed too.

Fixes: fc4ecaeebd26 ("net: hsr: add debugfs support for display node list")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/hsr/hsr_debugfs.c
net/hsr/hsr_main.c
net/hsr/hsr_main.h