From: Matthias Kaehlcke Date: Tue, 14 Jul 2009 20:04:29 +0000 (+0200) Subject: mtd: mtdblock: introduce mtdblks_lock X-Git-Tag: v2.6.31-rc6~45^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d676c11727815761e41a81b00c054b4bec452ae5;p=pandora-kernel.git mtd: mtdblock: introduce mtdblks_lock The mtdblks array and its content are prone to race conditions. Introduce the mutex mtdblks_lock in order to solve this. [Amended by Artem Bityutskiy] Signed-off-by: Matthias Kaehlcke Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed