X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=fs%2Fceph%2Fcache.h;h=b8b3b5cb64383da2ba59cb1994c932e84b95e7c1;hb=6a19114b8e7f1e24d80b0812e26d78d7ae1ec6dd;hp=09164389fa6677dcb9309a1d126b752d5eaac79a;hpb=fc9d6952a4bbb9908062726fbfb009fa6ea5c7af;p=linux-block.git diff --git a/fs/ceph/cache.h b/fs/ceph/cache.h index 09164389fa66..b8b3b5cb6438 100644 --- a/fs/ceph/cache.h +++ b/fs/ceph/cache.h @@ -62,7 +62,7 @@ static inline int ceph_fscache_set_page_dirty(struct page *page) return fscache_set_page_dirty(page, ceph_fscache_cookie(ci)); } -static inline int ceph_begin_cache_operation(struct netfs_read_request *rreq) +static inline int ceph_begin_cache_operation(struct netfs_io_request *rreq) { struct fscache_cookie *cookie = ceph_fscache_cookie(ceph_inode(rreq->inode)); @@ -143,7 +143,7 @@ static inline bool ceph_is_cache_enabled(struct inode *inode) return false; } -static inline int ceph_begin_cache_operation(struct netfs_read_request *rreq) +static inline int ceph_begin_cache_operation(struct netfs_io_request *rreq) { return -ENOBUFS; }