aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_dir2_block.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_dir2_block.c')
-rw-r--r--fs/xfs/xfs_dir2_block.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/xfs/xfs_dir2_block.c b/fs/xfs/xfs_dir2_block.c
index 57351b868861..ca03b109772d 100644
--- a/fs/xfs/xfs_dir2_block.c
+++ b/fs/xfs/xfs_dir2_block.c
@@ -970,8 +970,7 @@ xfs_dir2_leaf_to_block(
970 * Read the data block if we don't already have it, give up if it fails. 970 * Read the data block if we don't already have it, give up if it fails.
971 */ 971 */
972 if (!dbp) { 972 if (!dbp) {
973 error = xfs_da_read_buf(tp, dp, mp->m_dirdatablk, -1, &dbp, 973 error = xfs_dir2_data_read(tp, dp, mp->m_dirdatablk, -1, &dbp);
974 XFS_DATA_FORK, NULL);
975 if (error) 974 if (error)
976 return error; 975 return error;
977 } 976 }