From: Miklos Szeredi Date: Tue, 14 Apr 2009 17:48:38 +0000 (+0200) Subject: splice: fix i_mutex locking in generic_splice_write() X-Git-Tag: v2.6.27.24~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1763c368233c8ebf9c5596cb3230a0e4942459b4;p=pandora-kernel.git splice: fix i_mutex locking in generic_splice_write() commit eb443e5a25d43996deb62b9bcee1a4ce5dea2ead upstream. Rearrange locking of i_mutex on destination so it's only held while buffers are copied with the pipe_to_file() actor, and not while waiting for more data on the pipe. Signed-off-by: Miklos Szeredi Signed-off-by: Jens Axboe Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed