From: Al Viro Date: Wed, 27 Mar 2013 15:20:30 +0000 (+0000) Subject: vfs/splice: Fix missed checks in new __kernel_write() helper X-Git-Tag: v3.9-rc5~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e84f48edfd33b2e209a117c11fb9ce637cc9b67;p=pandora-kernel.git vfs/splice: Fix missed checks in new __kernel_write() helper Commit 06ae43f34bcc ("Don't bother with redoing rw_verify_area() from default_file_splice_from()") lost the checks to test existence of the write/aio_write methods. My apologies ;-/ Eventually, we want that in fs/splice.c side of things (no point repeating it for every buffer, after all), but for now this is the obvious minimal fix. Reported-by: Dave Jones Signed-off-by: Al Viro Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed