]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
bonding: remove already created master sysfs link on failure
authorVeaceslav Falico <vfalico@redhat.com>
Tue, 26 Mar 2013 16:43:28 +0000 (17:43 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 5 Apr 2013 16:26:17 +0000 (09:26 -0700)
commit8f5a394c32f8137f7ceb46180c775dd2e10da851
treea0ea305e143169b719793f1a6a27039eeaa0ed3c
parent9d7a1a25337ad50e9619685550e0b016ce23ddef
bonding: remove already created master sysfs link on failure

[ Upstream commit 9fe16b78ee17579cb4f333534cf7043e94c67024 ]

If slave sysfs symlink failes to be created - we end up without removing
the master sysfs symlink. Remove it in case of failure.

Signed-off-by: Veaceslav Falico <vfalico@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/bonding/bond_sysfs.c