aboutsummaryrefslogtreecommitdiff
path: root/sys/gnu/fs
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2005-03-15 20:00:03 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2005-03-15 20:00:03 +0000
commit45c26fa2b6f0f510e3b8424d379638aaf549bc63 (patch)
tree0df7ee974522d53324dfa9c6197c29fa4c9ee7c8 /sys/gnu/fs
parent0c3a1acbbb88c278e710f9d13c046c312c7dd5f9 (diff)
Notes
Diffstat (limited to 'sys/gnu/fs')
-rw-r--r--sys/gnu/fs/ext2fs/ext2_vfsops.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/gnu/fs/ext2fs/ext2_vfsops.c b/sys/gnu/fs/ext2fs/ext2_vfsops.c
index 5c2fed435755..295accb532d6 100644
--- a/sys/gnu/fs/ext2fs/ext2_vfsops.c
+++ b/sys/gnu/fs/ext2fs/ext2_vfsops.c
@@ -944,10 +944,8 @@ ext2_vget(mp, ino, flags, vpp)
ip->i_number = ino;
error = vfs_hash_insert(vp, ino, flags, curthread, vpp);
- if (error || *vpp != NULL) {
- vput(vp);
+ if (error || *vpp != NULL)
return (error);
- }
/* Read in the disk contents for the inode, copy into the inode. */
#if 0