summaryrefslogtreecommitdiffstats
path: root/sys/fs
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/hpfs/hpfs_hash.c4
-rw-r--r--sys/fs/ntfs/ntfs_ihash.c4
2 files changed, 0 insertions, 8 deletions
diff --git a/sys/fs/hpfs/hpfs_hash.c b/sys/fs/hpfs/hpfs_hash.c
index 8b893bf..50c9b66 100644
--- a/sys/fs/hpfs/hpfs_hash.c
+++ b/sys/fs/hpfs/hpfs_hash.c
@@ -174,10 +174,6 @@ hpfs_hphashrem(hp)
if (hp->h_flag & H_HASHED) {
hp->h_flag &= ~H_HASHED;
LIST_REMOVE(hp, h_hash);
-#ifdef DIAGNOSTIC
- hp->h_hash.le_next = NULL;
- hp->h_hash.le_prev = NULL;
-#endif
}
mtx_exit(&hpfs_hphash_mtx, MTX_DEF);
}
diff --git a/sys/fs/ntfs/ntfs_ihash.c b/sys/fs/ntfs/ntfs_ihash.c
index d68c508..a52e87c 100644
--- a/sys/fs/ntfs/ntfs_ihash.c
+++ b/sys/fs/ntfs/ntfs_ihash.c
@@ -129,10 +129,6 @@ ntfs_nthashrem(ip)
if (ip->i_flag & IN_HASHED) {
ip->i_flag &= ~IN_HASHED;
LIST_REMOVE(ip, i_hash);
-#ifdef DIAGNOSTIC
- ip->i_hash.le_next = NULL;
- ip->i_hash.le_prev = NULL;
-#endif
}
mtx_exit(&ntfs_nthash_mtx, MTX_DEF);
}
OpenPOWER on IntegriCloud