diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2018-11-01 22:58:52 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-11-01 22:58:52 -0400 |
commit | 9931a07d518e86eb58a75e508ed9626f86359303 (patch) | |
tree | 8c3be85875e35ab14a14143f2499be924f149a46 /fs/9p | |
parent | e468f5c06b5ebef3f6f3c187e51aa6daab667e57 (diff) | |
parent | 0e9b4a82710220c04100892fb7277b78fd33a747 (diff) |
Merge branch 'work.afs' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull AFS updates from Al Viro:
"AFS series, with some iov_iter bits included"
* 'work.afs' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: (26 commits)
missing bits of "iov_iter: Separate type from direction and use accessor functions"
afs: Probe multiple fileservers simultaneously
afs: Fix callback handling
afs: Eliminate the address pointer from the address list cursor
afs: Allow dumping of server cursor on operation failure
afs: Implement YFS support in the fs client
afs: Expand data structure fields to support YFS
afs: Get the target vnode in afs_rmdir() and get a callback on it
afs: Calc callback expiry in op reply delivery
afs: Fix FS.FetchStatus delivery from updating wrong vnode
afs: Implement the YFS cache manager service
afs: Remove callback details from afs_callback_break struct
afs: Commit the status on a new file/dir/symlink
afs: Increase to 64-bit volume ID and 96-bit vnode ID for YFS
afs: Don't invoke the server to read data beyond EOF
afs: Add a couple of tracepoints to log I/O errors
afs: Handle EIO from delivery function
afs: Fix TTL on VL server and address lists
afs: Implement VL server rotation
afs: Improve FS server rotation error handling
...
Diffstat (limited to 'fs/9p')
-rw-r--r-- | fs/9p/vfs_addr.c | 4 | ||||
-rw-r--r-- | fs/9p/vfs_dir.c | 2 | ||||
-rw-r--r-- | fs/9p/xattr.c | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/fs/9p/vfs_addr.c b/fs/9p/vfs_addr.c index e1cbdfdb7c68..0bcbcc20f769 100644 --- a/fs/9p/vfs_addr.c +++ b/fs/9p/vfs_addr.c | |||
@@ -65,7 +65,7 @@ static int v9fs_fid_readpage(struct p9_fid *fid, struct page *page) | |||
65 | if (retval == 0) | 65 | if (retval == 0) |
66 | return retval; | 66 | return retval; |
67 | 67 | ||
68 | iov_iter_bvec(&to, ITER_BVEC | READ, &bvec, 1, PAGE_SIZE); | 68 | iov_iter_bvec(&to, READ, &bvec, 1, PAGE_SIZE); |
69 | 69 | ||
70 | retval = p9_client_read(fid, page_offset(page), &to, &err); | 70 | retval = p9_client_read(fid, page_offset(page), &to, &err); |
71 | if (err) { | 71 | if (err) { |
@@ -175,7 +175,7 @@ static int v9fs_vfs_writepage_locked(struct page *page) | |||
175 | bvec.bv_page = page; | 175 | bvec.bv_page = page; |
176 | bvec.bv_offset = 0; | 176 | bvec.bv_offset = 0; |
177 | bvec.bv_len = len; | 177 | bvec.bv_len = len; |
178 | iov_iter_bvec(&from, ITER_BVEC | WRITE, &bvec, 1, len); | 178 | iov_iter_bvec(&from, WRITE, &bvec, 1, len); |
179 | 179 | ||
180 | /* We should have writeback_fid always set */ | 180 | /* We should have writeback_fid always set */ |
181 | BUG_ON(!v9inode->writeback_fid); | 181 | BUG_ON(!v9inode->writeback_fid); |
diff --git a/fs/9p/vfs_dir.c b/fs/9p/vfs_dir.c index cb6c4031af55..00745147329d 100644 --- a/fs/9p/vfs_dir.c +++ b/fs/9p/vfs_dir.c | |||
@@ -123,7 +123,7 @@ static int v9fs_dir_readdir(struct file *file, struct dir_context *ctx) | |||
123 | if (rdir->tail == rdir->head) { | 123 | if (rdir->tail == rdir->head) { |
124 | struct iov_iter to; | 124 | struct iov_iter to; |
125 | int n; | 125 | int n; |
126 | iov_iter_kvec(&to, READ | ITER_KVEC, &kvec, 1, buflen); | 126 | iov_iter_kvec(&to, READ, &kvec, 1, buflen); |
127 | n = p9_client_read(file->private_data, ctx->pos, &to, | 127 | n = p9_client_read(file->private_data, ctx->pos, &to, |
128 | &err); | 128 | &err); |
129 | if (err) | 129 | if (err) |
diff --git a/fs/9p/xattr.c b/fs/9p/xattr.c index 352abc39e891..ac8ff8ca4c11 100644 --- a/fs/9p/xattr.c +++ b/fs/9p/xattr.c | |||
@@ -32,7 +32,7 @@ ssize_t v9fs_fid_xattr_get(struct p9_fid *fid, const char *name, | |||
32 | struct iov_iter to; | 32 | struct iov_iter to; |
33 | int err; | 33 | int err; |
34 | 34 | ||
35 | iov_iter_kvec(&to, READ | ITER_KVEC, &kvec, 1, buffer_size); | 35 | iov_iter_kvec(&to, READ, &kvec, 1, buffer_size); |
36 | 36 | ||
37 | attr_fid = p9_client_xattrwalk(fid, name, &attr_size); | 37 | attr_fid = p9_client_xattrwalk(fid, name, &attr_size); |
38 | if (IS_ERR(attr_fid)) { | 38 | if (IS_ERR(attr_fid)) { |
@@ -107,7 +107,7 @@ int v9fs_fid_xattr_set(struct p9_fid *fid, const char *name, | |||
107 | struct iov_iter from; | 107 | struct iov_iter from; |
108 | int retval, err; | 108 | int retval, err; |
109 | 109 | ||
110 | iov_iter_kvec(&from, WRITE | ITER_KVEC, &kvec, 1, value_len); | 110 | iov_iter_kvec(&from, WRITE, &kvec, 1, value_len); |
111 | 111 | ||
112 | p9_debug(P9_DEBUG_VFS, "name = %s value_len = %zu flags = %d\n", | 112 | p9_debug(P9_DEBUG_VFS, "name = %s value_len = %zu flags = %d\n", |
113 | name, value_len, flags); | 113 | name, value_len, flags); |