aboutsummaryrefslogtreecommitdiff
path: root/sys/ufs/ufs/ufs_lookup.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/ufs/ufs/ufs_lookup.c')
-rw-r--r--sys/ufs/ufs/ufs_lookup.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/ufs/ufs/ufs_lookup.c b/sys/ufs/ufs/ufs_lookup.c
index 7dbd58f795cc..2f5fbf3d8001 100644
--- a/sys/ufs/ufs/ufs_lookup.c
+++ b/sys/ufs/ufs/ufs_lookup.c
@@ -1131,10 +1131,6 @@ ufs_direnter(dvp, tvp, dirp, cnp, newdirbp, isrename)
vn_printf(dvp,
"ufs_direnter: failed to truncate, error %d\n",
error);
-#ifdef UFS_DIRHASH
- if (error == 0 && dp->i_dirhash != NULL)
- ufsdirhash_dirtrunc(dp, I_ENDOFF(dp));
-#endif
error = 0;
if (tvp != NULL)
vn_lock(tvp, LK_EXCLUSIVE | LK_RETRY);