diff options
Diffstat (limited to 'fs/ext4/dir.c')
-rw-r--r-- | fs/ext4/dir.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/ext4/dir.c b/fs/ext4/dir.c index 9833d5d00c46..18ac173af575 100644 --- a/fs/ext4/dir.c +++ b/fs/ext4/dir.c | |||
@@ -134,8 +134,7 @@ static int ext4_readdir(struct file * filp, | |||
134 | struct buffer_head *bh = NULL; | 134 | struct buffer_head *bh = NULL; |
135 | 135 | ||
136 | map_bh.b_state = 0; | 136 | map_bh.b_state = 0; |
137 | err = ext4_get_blocks_handle(NULL, inode, blk, 1, | 137 | err = ext4_get_blocks_wrap(NULL, inode, blk, 1, &map_bh, 0, 0); |
138 | &map_bh, 0, 0); | ||
139 | if (err > 0) { | 138 | if (err > 0) { |
140 | page_cache_readahead(sb->s_bdev->bd_inode->i_mapping, | 139 | page_cache_readahead(sb->s_bdev->bd_inode->i_mapping, |
141 | &filp->f_ra, | 140 | &filp->f_ra, |