From 6ead7c4f270898b9ea90b3134fcacdbcd2adf669 Mon Sep 17 00:00:00 2001 From: phk Date: Mon, 14 Mar 2005 13:30:06 +0000 Subject: Use vfs_hash() instead of home-rolled --- sys/gnu/ext2fs/ext2_inode.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'sys/gnu/ext2fs/ext2_inode.c') 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. */ -- cgit v1.1