diff options
Diffstat (limited to 'fs/9p')
-rw-r--r-- | fs/9p/vfs_file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/9p/vfs_file.c b/fs/9p/vfs_file.c index 52944d2249a4..3819a195de8f 100644 --- a/fs/9p/vfs_file.c +++ b/fs/9p/vfs_file.c | |||
@@ -136,7 +136,7 @@ v9fs_file_read(struct file *filp, char __user * data, size_t count, | |||
136 | 136 | ||
137 | P9_DPRINTK(P9_DEBUG_VFS, "\n"); | 137 | P9_DPRINTK(P9_DEBUG_VFS, "\n"); |
138 | fid = filp->private_data; | 138 | fid = filp->private_data; |
139 | ret = p9_client_uread(fid, data, *offset, count); | 139 | ret = p9_client_read(fid, NULL, data, *offset, count); |
140 | if (ret > 0) | 140 | if (ret > 0) |
141 | *offset += ret; | 141 | *offset += ret; |
142 | 142 | ||
@@ -164,7 +164,7 @@ v9fs_file_write(struct file *filp, const char __user * data, | |||
164 | (int)count, (int)*offset); | 164 | (int)count, (int)*offset); |
165 | 165 | ||
166 | fid = filp->private_data; | 166 | fid = filp->private_data; |
167 | ret = p9_client_uwrite(fid, data, *offset, count); | 167 | ret = p9_client_write(fid, NULL, data, *offset, count); |
168 | if (ret > 0) { | 168 | if (ret > 0) { |
169 | invalidate_inode_pages2_range(inode->i_mapping, *offset, | 169 | invalidate_inode_pages2_range(inode->i_mapping, *offset, |
170 | *offset+ret); | 170 | *offset+ret); |