git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51eeb87
)
mtd: cfi_cmdset_0002, fix lock imbalance
author
Jiri Slaby
<jslaby@suse.cz>
Thu, 10 Dec 2009 13:23:57 +0000
(14:23 +0100)
committer
David Woodhouse
<David.Woodhouse@intel.com>
Thu, 10 Dec 2009 13:33:53 +0000
(13:33 +0000)
Stanse found a double unlock in get_chip. get_chip is called with
chip->mutex held and caller is responsible for unlocking it too.
Do not unlock the lock in get_chip on a fail path. This would mean
a double unlock.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
No differences found