staging: nvec: release sync write lock in error case
authorMarc Dietrich <marvin24@gmx.de>
Sun, 19 Aug 2012 17:03:07 +0000 (19:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Sep 2012 20:18:14 +0000 (13:18 -0700)
We forgot to release the sync write lock in case the async write
fails. Found by rpiloose on IRC.

Signed-off-by: Marc Dietrich <marvin24@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

No differences found