From: Changli Gao Date: Tue, 29 Jun 2010 11:10:36 +0000 (+0200) Subject: splice: check f_mode for seekable file X-Git-Tag: v2.6.35-rc5~11^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19c9a49b432f245c6293508d164a4350f1f2c601;p=pandora-kernel.git splice: check f_mode for seekable file check f_mode for seekable file As a seekable file is allowed without a llseek function, so the old way isn't work any more. Signed-off-by: Changli Gao Signed-off-by: Miklos Szeredi ---- fs/splice.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) Signed-off-by: Jens Axboe --- Reading git-diff-tree failed