]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - fs/splice.c
[PATCH] tee: link_pipe() must be careful when dropping one of the pipe locks
authorJens Axboe <axboe@suse.de>
Wed, 19 Apr 2006 13:56:40 +0000 (15:56 +0200)
committerJens Axboe <axboe@suse.de>
Wed, 19 Apr 2006 13:56:40 +0000 (15:56 +0200)
commit2a27250e6cf47ca1ea3bea0a55e4b7889c097627
tree3dbd4747df21e72420ab6fb91fc174173903c803
parentc4f895cbe1e95aab633207fb19c650b7c984c01a
[PATCH] tee: link_pipe() must be careful when dropping one of the pipe locks

We need to ensure that we only drop a lock that is ordered last, to avoid
ABBA deadlocks with competing processes.

Signed-off-by: Jens Axboe <axboe@suse.de>
fs/splice.c