diff options
| author | Jan Kara <[email protected]> | 2012-02-20 16:54:00 +0000 |
|---|---|---|
| committer | Al Viro <[email protected]> | 2012-03-10 21:05:38 +0000 |
| commit | f6940fe9092e796119af691c7f722c252f4fc524 (patch) | |
| tree | 648da154cc48352b12982b4407e72121ceac9ecb /drivers/i2c/algos/i2c-algo-bit.c | |
| parent | vfs: Correctly set the dir i_mutex lockdep class (diff) | |
| download | kernel-f6940fe9092e796119af691c7f722c252f4fc524.tar.gz kernel-f6940fe9092e796119af691c7f722c252f4fc524.zip | |
udf: Fix deadlock in udf_release_file()
udf_release_file() can be called from munmap() path with mmap_sem held. Thus
we cannot take i_mutex there because that ranks above mmap_sem. Luckily,
i_mutex is not needed in udf_release_file() anymore since protection by
i_data_sem is enough to protect from races with write and truncate.
Reported-by: Al Viro <[email protected]>
Reviewed-by: Namjae Jeon <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'drivers/i2c/algos/i2c-algo-bit.c')
0 files changed, 0 insertions, 0 deletions
