summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/chips
diff options
context:
space:
mode:
authorDavid Woodhouse2007-12-03 13:46:12 +0100
committerDavid Woodhouse2007-12-03 13:46:12 +0100
commitce37ab42ad8b38ef2f36c31c6b4c39b87f36b792 (patch)
tree6d050ed72e3044401008e8c3e3ae60adc68be4d9 /drivers/mtd/chips
parent[MTD] [NAND] pasemi_nand driver (diff)
downloadkernel-qcow2-linux-ce37ab42ad8b38ef2f36c31c6b4c39b87f36b792.tar.gz
kernel-qcow2-linux-ce37ab42ad8b38ef2f36c31c6b4c39b87f36b792.tar.xz
kernel-qcow2-linux-ce37ab42ad8b38ef2f36c31c6b4c39b87f36b792.zip
[MTD] Always initialise mutex in new mtd_blktrans_dev.
We were only initialising the mutex in the case where the new device was automatically allocated the highest minor number. If the caller specified a minor number, or if it filled in a free slot which was made by a previous device deregistering, the mutex wouldn't get initialised when we jumped out of the loop. Reported by Monte Copeland <catboat@texas.net> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/mtd/chips')
0 files changed, 0 insertions, 0 deletions