pcmcia: call pcmcia_{read,write}_cis_mem with ops_mutex held
authorDominik Brodowski <linux@dominikbrodowski.net>
Tue, 30 Mar 2010 16:07:50 +0000 (18:07 +0200)
committerDominik Brodowski <linux@dominikbrodowski.net>
Mon, 10 May 2010 08:23:23 +0000 (10:23 +0200)
commit059f667d9f81082e94dead14ff3fa7b3b42c98a0
treeabd97312659c44cd05dc8b1bf5bc0bb6fba832c2
parenta60f22c4af3382b86301d64d6a9d68f30191d4c9
pcmcia: call pcmcia_{read,write}_cis_mem with ops_mutex held

This avoids multiple lock takings in several codepaths.

Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
drivers/pcmcia/cistpl.c
drivers/pcmcia/pcmcia_ioctl.c
drivers/pcmcia/pcmcia_resource.c