diff options
Diffstat (limited to 'fs/erofs')
-rw-r--r-- | fs/erofs/fscache.c | 6 | ||||
-rw-r--r-- | fs/erofs/inode.c | 6 | ||||
-rw-r--r-- | fs/erofs/namei.c | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/fs/erofs/fscache.c b/fs/erofs/fscache.c index f14886c479bd..014e20962376 100644 --- a/fs/erofs/fscache.c +++ b/fs/erofs/fscache.c @@ -143,7 +143,7 @@ static int erofs_fscache_read_folios_async(struct fscache_cookie *cookie, } refcount_inc(&req->ref); - iov_iter_xarray(&iter, READ, &req->mapping->i_pages, + iov_iter_xarray(&iter, ITER_DEST, &req->mapping->i_pages, lstart + done, slen); ret = fscache_read(cres, sstart, &iter, NETFS_READ_HOLE_FAIL, @@ -226,7 +226,7 @@ static int erofs_fscache_data_read_slice(struct erofs_fscache_request *primary) if (IS_ERR(src)) return PTR_ERR(src); - iov_iter_xarray(&iter, READ, &mapping->i_pages, pos, PAGE_SIZE); + iov_iter_xarray(&iter, ITER_DEST, &mapping->i_pages, pos, PAGE_SIZE); if (copy_to_iter(src + offset, size, &iter) != size) { erofs_put_metabuf(&buf); return -EFAULT; @@ -239,7 +239,7 @@ static int erofs_fscache_data_read_slice(struct erofs_fscache_request *primary) count = primary->len - primary->submitted; if (!(map.m_flags & EROFS_MAP_MAPPED)) { - iov_iter_xarray(&iter, READ, &mapping->i_pages, pos, count); + iov_iter_xarray(&iter, ITER_DEST, &mapping->i_pages, pos, count); iov_iter_zero(count, &iter); primary->submitted += count; return 0; diff --git a/fs/erofs/inode.c b/fs/erofs/inode.c index 5b3a793103af..d3b8736fa124 100644 --- a/fs/erofs/inode.c +++ b/fs/erofs/inode.c @@ -373,7 +373,7 @@ int erofs_getattr(struct user_namespace *mnt_userns, const struct path *path, const struct inode_operations erofs_generic_iops = { .getattr = erofs_getattr, .listxattr = erofs_listxattr, - .get_acl = erofs_get_acl, + .get_inode_acl = erofs_get_acl, .fiemap = erofs_fiemap, }; @@ -381,12 +381,12 @@ const struct inode_operations erofs_symlink_iops = { .get_link = page_get_link, .getattr = erofs_getattr, .listxattr = erofs_listxattr, - .get_acl = erofs_get_acl, + .get_inode_acl = erofs_get_acl, }; const struct inode_operations erofs_fast_symlink_iops = { .get_link = simple_get_link, .getattr = erofs_getattr, .listxattr = erofs_listxattr, - .get_acl = erofs_get_acl, + .get_inode_acl = erofs_get_acl, }; diff --git a/fs/erofs/namei.c b/fs/erofs/namei.c index 0dc34721080c..b64a108fac92 100644 --- a/fs/erofs/namei.c +++ b/fs/erofs/namei.c @@ -228,6 +228,6 @@ const struct inode_operations erofs_dir_iops = { .lookup = erofs_lookup, .getattr = erofs_getattr, .listxattr = erofs_listxattr, - .get_acl = erofs_get_acl, + .get_inode_acl = erofs_get_acl, .fiemap = erofs_fiemap, }; |