]> err.no Git - linux-2.6/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)
commitc4ebc66a1a8e3576322a9f47f0d06ec3c96a08d7
treeec9959fe23520db9074b3f197508523595b93afc
parent822973ba79fd5a5b711270c2de7196c6b50c6687
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