summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/wd7000.c
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2009-12-10 14:23:57 +0100
committerDavid Woodhouse <David.Woodhouse@intel.com>2009-12-10 14:33:53 +0100
commitcaf0e8e028516253afce6e40c52f0c193a221f8a (patch)
treea3cb81d5c9315bf0a028be6e257af2de1eb28d14 /drivers/scsi/wd7000.c
parentRevert "mtd: move mxcnd_remove to .exit.text" (diff)
downloadlinux-caf0e8e028516253afce6e40c52f0c193a221f8a.tar.xz
linux-caf0e8e028516253afce6e40c52f0c193a221f8a.zip
mtd: cfi_cmdset_0002, fix lock imbalance
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions