]> 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 17:04:39 +0000 (10:04 -0700)
commitb11b7d9b968aebaf70618db4393612784dfbebcd
tree1d4fb543c95b820bcebdff753694f9ea11906787
parentfbb7347e856f5116114c3ef5945980a3afab121e
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