diff options
author | Al Viro <viro@ZenIV.linux.org.uk> | 2013-03-27 19:20:30 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-03-27 20:24:02 +0400 |
commit | 3e84f48edfd33b2e209a117c11fb9ce637cc9b67 (patch) | |
tree | 20fc0018f33a0d23140d9d549d0ffad3dac9a182 /drivers/iommu/amd_iommu.c | |
parent | de55eb1d60d2ed0f1ba5e13226d91b3bfbe1c108 (diff) | |
download | linux-3e84f48edfd33b2e209a117c11fb9ce637cc9b67.tar.xz |
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 <davej@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/iommu/amd_iommu.c')
0 files changed, 0 insertions, 0 deletions