diff options
author | Jeff Layton <jlayton@kernel.org> | 2020-08-22 07:20:59 +0300 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2020-10-12 16:29:26 +0300 |
commit | c5f575ed08c38d077a581a1ec0c48c23ee6b7c21 (patch) | |
tree | 868ac90f3f6fe95d06528b4022822a28faa0a2bb /fs/ceph/xattr.c | |
parent | 3a8ebe0b8b616c5f6d72f9a95aa29ccd0b35408f (diff) | |
download | linux-c5f575ed08c38d077a581a1ec0c48c23ee6b7c21.tar.xz |
ceph: drop special-casing for ITER_PIPE in ceph_sync_read
This special casing was added in 7ce469a53e71 (ceph: fix splice
read for no Fc capability case). The confirm callback for ITER_PIPE
expects that the page is Uptodate and returns an error otherwise.
A simpler workaround is just to use the Uptodate bit, which has no
meaning for anonymous pages. Rip out the special casing for ITER_PIPE
and just SetPageUptodate before we copy to the iter.
Cc: John Hubbard <jhubbard@nvidia.com>
Suggested-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph/xattr.c')
0 files changed, 0 insertions, 0 deletions