]> git.baikalelectronics.ru Git - kernel.git/commit
bonding: fix error unwind in bonding_store_bonds
authorJay Vosburgh <fubar@us.ibm.com>
Sat, 3 May 2008 00:49:38 +0000 (17:49 -0700)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 6 May 2008 16:01:29 +0000 (12:01 -0400)
commita0d54d5da4acd09be1c4a84733719705046c24f5
treeec9959fe23520db9074b3f197508523595b93afc
parentb9403edf723fb88e722f4c6136bb09a46365f226
bonding: fix error unwind in bonding_store_bonds

Fixed an error unwind in bonding_store_bonds that didn't release
the locks it held, and consolidated unwinds into a common block at the
end of the function.  Bug reported by Pavel Emelyanov <xemul@openvz.org>,
who provided a different fix.

Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/bonding/bond_sysfs.c