From: Al Viro Date: Thu, 12 Jun 2014 04:27:11 +0000 (-0400) Subject: Merge commit '9f12600fe425bc28f0ccba034a77783c09c15af4' into for-linus X-Git-Tag: v4.14-rc1~7392^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9c1d5284c79fea050f115eadeec1dd1758e5c630;p=platform%2Fkernel%2Flinux-rpi.git Merge commit '9f12600fe425bc28f0ccba034a77783c09c15af4' into for-linus Backmerge of dcache.c changes from mainline. It's that, or complete rebase... Conflicts: fs/splice.c Signed-off-by: Al Viro --- 9c1d5284c79fea050f115eadeec1dd1758e5c630 diff --cc fs/splice.c index 8e7eef7,e246954..f5cb9ba --- a/fs/splice.c +++ b/fs/splice.c @@@ -1557,9 -1546,10 +1557,10 @@@ static long vmsplice_to_user(struct fil ret = rw_copy_check_uvector(READ, uiov, nr_segs, ARRAY_SIZE(iovstack), iovstack, &iov); if (ret <= 0) - return ret; + goto out; + count = ret; - iov_iter_init(&iter, iov, nr_segs, count, 0); + iov_iter_init(&iter, READ, iov, nr_segs, count); sd.len = 0; sd.total_len = count;