pcmcia: also lock fake and cache CIS by ops_mutex
authorDominik Brodowski <linux@dominikbrodowski.net>
Tue, 12 Jan 2010 21:05:36 +0000 (22:05 +0100)
committerDominik Brodowski <linux@dominikbrodowski.net>
Wed, 17 Feb 2010 16:48:14 +0000 (17:48 +0100)
commit8680c4b3faa298dc768c2a78a94a84d89854eca9
treefe6faa7b62cf52ce8823027e833d946d11523e4a
parent6b8e087b86c59c3941e125738d30cf38014089e0
pcmcia: also lock fake and cache CIS by ops_mutex

Specifically,

struct list_head cis_cache;
size_t fake_cis_len;
u8 *fake_cis;

are protected.

Tested-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
drivers/pcmcia/cistpl.c
drivers/pcmcia/ds.c