summaryrefslogtreecommitdiff
path: root/Documentation/DMA-API-HOWTO.txt
diff options
context:
space:
mode:
authorAlexey Khoroshilov <khoroshilov@ispras.ru>2014-09-02 11:40:17 +0400
committerAl Viro <viro@zeniv.linux.org.uk>2014-09-07 13:26:39 -0400
commit9ef7db7f38d0472dd9c444e42d5c5175ccbe5451 (patch)
tree38098751b8e07a868788fda862f96763b55d0763 /Documentation/DMA-API-HOWTO.txt
parent81b6b06197606b4bef4e427a197aeb808e8d89e1 (diff)
downloadlwn-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/DMA-API-HOWTO.txt')
0 files changed, 0 insertions, 0 deletions