diff options
author | Dave Chinner <dchinner@redhat.com> | 2014-06-06 07:08:18 +0200 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2014-06-06 07:08:18 +0200 |
commit | 30028030b14d083123c88e3ab45990a8c375abf1 (patch) | |
tree | c6787bd71e8b29f7acf675500a899e4154e0b951 /fs/xfs/xfs_dir2_data.c | |
parent | xfs: convert directory dablk conversion to xfs_da_geometry (diff) | |
download | linux-30028030b14d083123c88e3ab45990a8c375abf1.tar.xz linux-30028030b14d083123c88e3ab45990a8c375abf1.zip |
xfs: convert directory db conversion to xfs_da_geometry
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_dir2_data.c')
-rw-r--r-- | fs/xfs/xfs_dir2_data.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/xfs/xfs_dir2_data.c b/fs/xfs/xfs_dir2_data.c index 890c94033c3f..d355ec7d35cd 100644 --- a/fs/xfs/xfs_dir2_data.c +++ b/fs/xfs/xfs_dir2_data.c @@ -172,7 +172,8 @@ __xfs_dir3_data_check( lastfree = 0; if (hdr->magic == cpu_to_be32(XFS_DIR2_BLOCK_MAGIC) || hdr->magic == cpu_to_be32(XFS_DIR3_BLOCK_MAGIC)) { - addr = xfs_dir2_db_off_to_dataptr(mp, mp->m_dirdatablk, + addr = xfs_dir2_db_off_to_dataptr(mp->m_dir_geo, + mp->m_dirdatablk, (xfs_dir2_data_aoff_t) ((char *)dep - (char *)hdr)); name.name = dep->name; |