summaryrefslogtreecommitdiff
path: root/fs/ceph/dir.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2020-08-21 21:20:59 -0700
committerIlya Dryomov <idryomov@gmail.com>2020-10-12 15:29:26 +0200
commitc5f575ed08c38d077a581a1ec0c48c23ee6b7c21 (patch)
tree868ac90f3f6fe95d06528b4022822a28faa0a2bb /fs/ceph/dir.c
parent3a8ebe0b8b616c5f6d72f9a95aa29ccd0b35408f (diff)
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/dir.c')
0 files changed, 0 insertions, 0 deletions