From: Miklos Szeredi Date: Tue, 14 Apr 2009 17:48:39 +0000 (+0200) Subject: ocfs2: fix i_mutex locking in ocfs2_splice_to_file() X-Git-Tag: v2.6.30-rc3~88^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=328eaaba4e41a04c1dc4679d65bea3fee4349d86;p=pandora-kernel.git ocfs2: fix i_mutex locking in ocfs2_splice_to_file() Rearrange locking of i_mutex on destination and call to ocfs2_rw_lock() so locks are 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 --- Reading git-diff-tree failed