diff options
author | Matthias Kaehlcke <matthias@kaehlcke.net> | 2009-07-14 16:04:29 -0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2009-08-03 09:25:00 -0400 |
commit | d676c11727815761e41a81b00c054b4bec452ae5 (patch) | |
tree | 9cdc40a1142010a545e41272a0c3b5ddc0d205fc /kernel/spinlock.c | |
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>
Diffstat (limited to 'kernel/spinlock.c')
0 files changed, 0 insertions, 0 deletions