linux-next: manual merge of the vfs tree with Linus' tree
From: Stephen Rothwell <hidden>
Date: 2014-05-29 03:19:47
Also in:
lkml
Attachments
- signature.asc [application/pgp-signature] 836 bytes
From: Stephen Rothwell <hidden>
Date: 2014-05-29 03:19:47
Also in:
lkml
Hi Al,
Today's linux-next merge of the vfs tree got a conflict in fs/splice.c
between commitb6dd6f473883 ("vfs: fix vmplice_to_user()") from Linus'
tree and commit 71d8e532b154 ("start adding the tag to iov_iter") from
the vfs tree.
I fixed it up (see below) and can carry the fix as necessary (no action
is required).
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
diff --cc fs/splice.c
index e246954ea48c,9dc23de0f146..000000000000--- a/fs/splice.c
+++ b/fs/splice.c@@@ -1546,10 -1556,9 +1556,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;