[PATCH] tee: link_pipe() must be careful when dropping one of the pipe locks
commit2a27250e6cf47ca1ea3bea0a55e4b7889c097627
authorJens Axboe <axboe@suse.de>
Wed, 19 Apr 2006 13:56:40 +0000 (19 15:56 +0200)
committerJens Axboe <axboe@suse.de>
Wed, 19 Apr 2006 13:56:40 +0000 (19 15:56 +0200)
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