mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 00:12:52 +00:00
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 <[email protected]> Acked-by: Jay Vosburgh <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>