diff options
Diffstat (limited to 'fs/xfs/xfs_dir2_block.c')
-rw-r--r-- | fs/xfs/xfs_dir2_block.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/xfs/xfs_dir2_block.c b/fs/xfs/xfs_dir2_block.c index bc08216089d8..d950cde3afeb 100644 --- a/fs/xfs/xfs_dir2_block.c +++ b/fs/xfs/xfs_dir2_block.c | |||
@@ -136,7 +136,7 @@ xfs_dir3_block_read( | |||
136 | struct xfs_mount *mp = dp->i_mount; | 136 | struct xfs_mount *mp = dp->i_mount; |
137 | int err; | 137 | int err; |
138 | 138 | ||
139 | err = xfs_da_read_buf(tp, dp, mp->m_dirdatablk, -1, bpp, | 139 | err = xfs_da_read_buf(tp, dp, mp->m_dir_geo->datablk, -1, bpp, |
140 | XFS_DATA_FORK, &xfs_dir3_block_buf_ops); | 140 | XFS_DATA_FORK, &xfs_dir3_block_buf_ops); |
141 | if (!err && tp) | 141 | if (!err && tp) |
142 | xfs_trans_buf_set_type(tp, *bpp, XFS_BLFT_DIR_BLOCK_BUF); | 142 | xfs_trans_buf_set_type(tp, *bpp, XFS_BLFT_DIR_BLOCK_BUF); |
@@ -969,7 +969,7 @@ xfs_dir2_leaf_to_block( | |||
969 | * Read the data block if we don't already have it, give up if it fails. | 969 | * Read the data block if we don't already have it, give up if it fails. |
970 | */ | 970 | */ |
971 | if (!dbp) { | 971 | if (!dbp) { |
972 | error = xfs_dir3_data_read(tp, dp, mp->m_dirdatablk, -1, &dbp); | 972 | error = xfs_dir3_data_read(tp, dp, args->geo->datablk, -1, &dbp); |
973 | if (error) | 973 | if (error) |
974 | return error; | 974 | return error; |
975 | } | 975 | } |
@@ -1034,7 +1034,7 @@ xfs_dir2_leaf_to_block( | |||
1034 | /* | 1034 | /* |
1035 | * Pitch the old leaf block. | 1035 | * Pitch the old leaf block. |
1036 | */ | 1036 | */ |
1037 | error = xfs_da_shrink_inode(args, mp->m_dirleafblk, lbp); | 1037 | error = xfs_da_shrink_inode(args, args->geo->leafblk, lbp); |
1038 | if (error) | 1038 | if (error) |
1039 | return error; | 1039 | return error; |
1040 | 1040 | ||