]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
committerKhalid Elmously <khalid.elmously@canonical.com>
Fri, 14 Feb 2020 06:00:53 +0000 (01:00 -0500)
commit2091afc699bac9051b72f1b75e8dc018e5930a35
tree7ad57c38bc3c547aa68850cbcd9bbed70b8bea0b
parent0ec962449b64dd1ce05ec627a23e967fd5f10886
hsr: rename debugfs file when interface name is changed

BugLink: https://bugs.launchpad.net/bugs/1862227
commit 4c2d5e33dcd3a6333a7895be3b542ff3d373177c upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
net/hsr/hsr_debugfs.c
net/hsr/hsr_main.c
net/hsr/hsr_main.h