diff options
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2014-09-02 11:40:17 +0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-09-07 13:26:39 -0400 |
commit | 9ef7db7f38d0472dd9c444e42d5c5175ccbe5451 (patch) | |
tree | 38098751b8e07a868788fda862f96763b55d0763 /Documentation/nommu-mmap.txt | |
parent | 81b6b06197606b4bef4e427a197aeb808e8d89e1 (diff) | |
download | lwn-9ef7db7f38d0472dd9c444e42d5c5175ccbe5451.tar.gz lwn-9ef7db7f38d0472dd9c444e42d5c5175ccbe5451.zip |
ufs: fix deadlocks introduced by sb mutex merge
Commit 0244756edc4b ("ufs: sb mutex merge + mutex_destroy") introduces
deadlocks in ufs_new_inode() and ufs_free_inode().
Most callers of that functions acqure the mutex by themselves and
ufs_{new,free}_inode() do that via lock_ufs(),
i.e we have an unavoidable double lock.
The patch proposes to resolve the issue by making sure that
ufs_{new,free}_inode() are not called with the mutex held.
Found by Linux Driver Verification project (linuxtesting.org).
Cc: stable@vger.kernel.org # 3.16
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'Documentation/nommu-mmap.txt')
0 files changed, 0 insertions, 0 deletions