diff options
author | 2009-07-14 22:04:29 +0200 | |
---|---|---|
committer | 2009-08-03 14:25:00 +0100 | |
commit | d676c11727815761e41a81b00c054b4bec452ae5 (patch) | |
tree | 9cdc40a1142010a545e41272a0c3b5ddc0d205fc /lib/fault-inject.c | |
parent | mtd: remove 'SBC8240 Wind River' Device Driver Code (diff) | |
download | wireguard-linux-d676c11727815761e41a81b00c054b4bec452ae5.tar.xz wireguard-linux-d676c11727815761e41a81b00c054b4bec452ae5.zip |
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 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions