diff options
Diffstat (limited to 'fs/gfs2/ops_file.c')
-rw-r--r-- | fs/gfs2/ops_file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/gfs2/ops_file.c b/fs/gfs2/ops_file.c index 359965c368bf..2fc8868e065c 100644 --- a/fs/gfs2/ops_file.c +++ b/fs/gfs2/ops_file.c | |||
@@ -71,7 +71,7 @@ static int gfs2_read_actor(read_descriptor_t *desc, struct page *page, | |||
71 | size = count; | 71 | size = count; |
72 | 72 | ||
73 | kaddr = kmap(page); | 73 | kaddr = kmap(page); |
74 | memcpy(desc->arg.buf, kaddr + offset, size); | 74 | memcpy(desc->arg.data, kaddr + offset, size); |
75 | kunmap(page); | 75 | kunmap(page); |
76 | 76 | ||
77 | desc->count = count - size; | 77 | desc->count = count - size; |
@@ -86,7 +86,7 @@ int gfs2_internal_read(struct gfs2_inode *ip, struct file_ra_state *ra_state, | |||
86 | struct inode *inode = &ip->i_inode; | 86 | struct inode *inode = &ip->i_inode; |
87 | read_descriptor_t desc; | 87 | read_descriptor_t desc; |
88 | desc.written = 0; | 88 | desc.written = 0; |
89 | desc.arg.buf = buf; | 89 | desc.arg.data = buf; |
90 | desc.count = size; | 90 | desc.count = size; |
91 | desc.error = 0; | 91 | desc.error = 0; |
92 | do_generic_mapping_read(inode->i_mapping, ra_state, | 92 | do_generic_mapping_read(inode->i_mapping, ra_state, |