diff options
Diffstat (limited to 'fs/gfs2/dir.c')
-rw-r--r-- | fs/gfs2/dir.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/gfs2/dir.c b/fs/gfs2/dir.c index 0404783f39b3..7f8b27e40916 100644 --- a/fs/gfs2/dir.c +++ b/fs/gfs2/dir.c | |||
@@ -197,8 +197,8 @@ static int gfs2_dir_write_data(struct gfs2_inode *ip, const char *buf, | |||
197 | 197 | ||
198 | if (!extlen) { | 198 | if (!extlen) { |
199 | new = 1; | 199 | new = 1; |
200 | error = gfs2_block_map(ip, lblock, &new, &dblock, | 200 | error = gfs2_extent_map(ip->i_vnode, lblock, &new, |
201 | &extlen); | 201 | &dblock, &extlen); |
202 | if (error) | 202 | if (error) |
203 | goto fail; | 203 | goto fail; |
204 | error = -EIO; | 204 | error = -EIO; |
@@ -314,8 +314,8 @@ static int gfs2_dir_read_data(struct gfs2_inode *ip, char *buf, | |||
314 | 314 | ||
315 | if (!extlen) { | 315 | if (!extlen) { |
316 | new = 0; | 316 | new = 0; |
317 | error = gfs2_block_map(ip, lblock, &new, &dblock, | 317 | error = gfs2_extent_map(ip->i_vnode, lblock, &new, |
318 | &extlen); | 318 | &dblock, &extlen); |
319 | if (error) | 319 | if (error) |
320 | goto fail; | 320 | goto fail; |
321 | } | 321 | } |