]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit05a63fad6753a006b681a04b9af889dd2d5a53af
tree1eb30b9f692699b85ddf74edbfd8ce7b9641ce5d
parentb6ce321b72e2b4be53319e0e19a3bcdb077b2fa7
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: f194a197c0dd ("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