diff options
Diffstat (limited to 'fs/xfs/xfs_dir2_readdir.c')
-rw-r--r-- | fs/xfs/xfs_dir2_readdir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_dir2_readdir.c b/fs/xfs/xfs_dir2_readdir.c index 45c9ce8cdb28..80333055df34 100644 --- a/fs/xfs/xfs_dir2_readdir.c +++ b/fs/xfs/xfs_dir2_readdir.c | |||
@@ -153,7 +153,7 @@ xfs_dir2_sf_getdents( | |||
153 | xfs_dir2_sf_get_offset(sfep)); | 153 | xfs_dir2_sf_get_offset(sfep)); |
154 | 154 | ||
155 | if (ctx->pos > off) { | 155 | if (ctx->pos > off) { |
156 | sfep = xfs_dir3_sf_nextentry(mp, sfp, sfep); | 156 | sfep = dp->d_ops->sf_nextentry(sfp, sfep); |
157 | continue; | 157 | continue; |
158 | } | 158 | } |
159 | 159 | ||
@@ -163,7 +163,7 @@ xfs_dir2_sf_getdents( | |||
163 | if (!dir_emit(ctx, (char *)sfep->name, sfep->namelen, ino, | 163 | if (!dir_emit(ctx, (char *)sfep->name, sfep->namelen, ino, |
164 | xfs_dir3_get_dtype(mp, filetype))) | 164 | xfs_dir3_get_dtype(mp, filetype))) |
165 | return 0; | 165 | return 0; |
166 | sfep = xfs_dir3_sf_nextentry(mp, sfp, sfep); | 166 | sfep = dp->d_ops->sf_nextentry(sfp, sfep); |
167 | } | 167 | } |
168 | 168 | ||
169 | ctx->pos = xfs_dir2_db_off_to_dataptr(mp, mp->m_dirdatablk + 1, 0) & | 169 | ctx->pos = xfs_dir2_db_off_to_dataptr(mp, mp->m_dirdatablk + 1, 0) & |