Merge commit '9f12600fe425bc28f0ccba034a77783c09c15af4' into for-linus
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 12 Jun 2014 04:27:11 +0000 (00:27 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 12 Jun 2014 04:28:09 +0000 (00:28 -0400)
Backmerge of dcache.c changes from mainline.  It's that, or complete
rebase...

Conflicts:
fs/splice.c

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
1  2 
fs/afs/internal.h
fs/splice.c
fs/xfs/xfs_file.c
mm/filemap.c

Simple merge
diff --cc fs/splice.c
index 8e7eef755a9b259b4debacb54d8377e8c2a88c0f,e246954ea48cb486b1c8101e6f621364d6844535..f5cb9ba84510fe5632a62af0bbf3843a45eeba23
@@@ -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;
  
 -      iov_iter_init(&iter, iov, nr_segs, count, 0);
+       count = ret;
 +      iov_iter_init(&iter, READ, iov, nr_segs, count);
  
        sd.len = 0;
        sd.total_len = count;
Simple merge
diff --cc mm/filemap.c
Simple merge