commit | d676c11727815761e41a81b00c054b4bec452ae5 | [log] [tgz] |
---|---|---|
author | Matthias Kaehlcke <matthias@kaehlcke.net> | Tue Jul 14 22:04:29 2009 +0200 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Mon Aug 03 14:25:00 2009 +0100 |
tree | 9cdc40a1142010a545e41272a0c3b5ddc0d205fc | |
parent | 2bf961b7ccd69e108ac435c67e2b0522b403c578 [diff] |
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 <matthias@kaehlcke.net> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>