diff options
Diffstat (limited to 'fs/xfs/xfs_dir2.c')
-rw-r--r-- | fs/xfs/xfs_dir2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_dir2.c b/fs/xfs/xfs_dir2.c index 08dfcd1e5e00..2047ef1ce8d2 100644 --- a/fs/xfs/xfs_dir2.c +++ b/fs/xfs/xfs_dir2.c | |||
@@ -749,7 +749,7 @@ xfs_dir2_shrink_inode( | |||
749 | /* | 749 | /* |
750 | * If the block isn't the last one in the directory, we're done. | 750 | * If the block isn't the last one in the directory, we're done. |
751 | */ | 751 | */ |
752 | if (dp->i_d.di_size > xfs_dir2_db_off_to_byte(mp, db + 1, 0)) | 752 | if (dp->i_d.di_size > xfs_dir2_db_off_to_byte(args->geo, db + 1, 0)) |
753 | return 0; | 753 | return 0; |
754 | bno = da; | 754 | bno = da; |
755 | if ((error = xfs_bmap_last_before(tp, dp, &bno, XFS_DATA_FORK))) { | 755 | if ((error = xfs_bmap_last_before(tp, dp, &bno, XFS_DATA_FORK))) { |