Commit b11b7d9b authored by Veaceslav Falico's avatar Veaceslav Falico Committed by Greg Kroah-Hartman
Browse files

bonding: remove already created master sysfs link on failure



[ Upstream commit 9fe16b78 ]

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: default avatarVeaceslav Falico <vfalico@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent fbb7347e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment