@@ -259,7 +259,7 @@ static bool ceph_netfs_issue_op_inline(struct netfs_io_subrequest *subreq)
259259 size_t len ;
260260
261261 __set_bit (NETFS_SREQ_CLEAR_TAIL , & subreq -> flags );
262- __clear_bit (NETFS_SREQ_WRITE_TO_CACHE , & subreq -> flags );
262+ __clear_bit (NETFS_SREQ_COPY_TO_CACHE , & subreq -> flags );
263263
264264 if (subreq -> start >= inode -> i_size )
265265 goto out ;
@@ -298,7 +298,7 @@ static bool ceph_netfs_issue_op_inline(struct netfs_io_subrequest *subreq)
298298 return true;
299299}
300300
301- static void ceph_netfs_issue_op (struct netfs_io_subrequest * subreq )
301+ static void ceph_netfs_issue_read (struct netfs_io_subrequest * subreq )
302302{
303303 struct netfs_io_request * rreq = subreq -> rreq ;
304304 struct inode * inode = rreq -> inode ;
@@ -367,7 +367,7 @@ static void ceph_readahead_cleanup(struct address_space *mapping, void *priv)
367367static const struct netfs_request_ops ceph_netfs_read_ops = {
368368 .is_cache_enabled = ceph_is_cache_enabled ,
369369 .begin_cache_operation = ceph_begin_cache_operation ,
370- .issue_op = ceph_netfs_issue_op ,
370+ .issue_read = ceph_netfs_issue_read ,
371371 .expand_readahead = ceph_netfs_expand_readahead ,
372372 .clamp_length = ceph_netfs_clamp_length ,
373373 .check_write_begin = ceph_netfs_check_write_begin ,
0 commit comments