diff options
| author | Akinobu Mita <[email protected]> | 2008-09-13 10:03:32 +0000 |
|---|---|---|
| committer | Pierre Ossman <[email protected]> | 2008-09-20 11:03:50 +0000 |
| commit | a650031a6bd16cb6789da9b3c27fc97341239f12 (patch) | |
| tree | c16f1426a9d911dc2dfa327fa932a01ef2179171 /fs/btrfs/async-thread.c | |
| parent | mmc_block: handle error from mmc_register_driver() (diff) | |
| download | kernel-a650031a6bd16cb6789da9b3c27fc97341239f12.tar.gz kernel-a650031a6bd16cb6789da9b3c27fc97341239f12.zip | |
mmc_test: initialize mmc_test_lock statically
The mutex mmc_test_lock is initialized at every time mmc_test device
is probed. Probing another mmc_test device may break the mutex, if
the probe function is called while the mutex is locked.
This patch fixes it by statically initializing mmc_test_lock.
Signed-off-by: Akinobu Mita <[email protected]>
Signed-off-by: Pierre Ossman <[email protected]>
Diffstat (limited to 'fs/btrfs/async-thread.c')
0 files changed, 0 insertions, 0 deletions
