From: Jay Vosburgh Date: Wed, 8 Feb 2006 05:17:22 +0000 (-0800) Subject: [PATCH] bonding: fix a locking bug in bond_release X-Git-Tag: v2.6.16-rc4~21^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5e2a7b22e7d7dfda8794906d0fddeaaa09bb944;p=pandora-kernel.git [PATCH] bonding: fix a locking bug in bond_release bond_release returns EINVAL without releasing the bond lock if the slave device is not being bonded by the bond. The following patch ensures that the lock is released in this case. Signed-off-by: Stephen J. Bevan Acked-by: Jay Vosburgh Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed