summaryrefslogtreecommitdiffstats
path: root/sys/gnu/ext2fs/ext2_inode.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2005-03-14 13:30:06 +0000
committerphk <phk@FreeBSD.org>2005-03-14 13:30:06 +0000
commit6ead7c4f270898b9ea90b3134fcacdbcd2adf669 (patch)
tree660fc5b3afc8d9c187611e4db8814fd90b517adb /sys/gnu/ext2fs/ext2_inode.c
parentd26364a9a9523fcaf47f48750b4c5f6c369cea92 (diff)
downloadFreeBSD-src-6ead7c4f270898b9ea90b3134fcacdbcd2adf669.zip
FreeBSD-src-6ead7c4f270898b9ea90b3134fcacdbcd2adf669.tar.gz
Use vfs_hash() instead of home-rolled
Diffstat (limited to 'sys/gnu/ext2fs/ext2_inode.c')
-rw-r--r--sys/gnu/ext2fs/ext2_inode.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/gnu/ext2fs/ext2_inode.c b/sys/gnu/ext2fs/ext2_inode.c
index 2f48f9c..7a8e5e0 100644
--- a/sys/gnu/ext2fs/ext2_inode.c
+++ b/sys/gnu/ext2fs/ext2_inode.c
@@ -528,10 +528,7 @@ ext2_reclaim(ap)
ip->i_flag |= IN_MODIFIED;
ext2_update(vp, 0);
}
- /*
- * Remove the inode from its hash chain.
- */
- ext2_ihashrem(ip);
+ vfs_hash_remove(vp);
/*
* Purge old data structures associated with the inode.
*/
OpenPOWER on IntegriCloud