summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormux <mux@FreeBSD.org>2002-05-20 14:59:43 +0000
committermux <mux@FreeBSD.org>2002-05-20 14:59:43 +0000
commit85aa3f836d74b6a56e946ff36ce9a2466fe00fef (patch)
treeb96d459c0f907c9572fcd455f44ae7fb83531471
parent531943a766cf8c4c616513e850124e60fec019b2 (diff)
downloadFreeBSD-src-85aa3f836d74b6a56e946ff36ce9a2466fe00fef.zip
FreeBSD-src-85aa3f836d74b6a56e946ff36ce9a2466fe00fef.tar.gz
Change two vput() that should have been vrele().
Submitted by: iedowse
-rw-r--r--sys/kern/vfs_extattr.c4
-rw-r--r--sys/kern/vfs_syscalls.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/vfs_extattr.c b/sys/kern/vfs_extattr.c
index 5cbef87..6360b60 100644
--- a/sys/kern/vfs_extattr.c
+++ b/sys/kern/vfs_extattr.c
@@ -547,7 +547,7 @@ update:
vfs_unbusy(mp, td);
free((caddr_t)mp, M_MOUNT);
}
- vput(vp);
+ vrele(vp);
error = EOPNOTSUPP;
goto bad;
}
@@ -895,7 +895,7 @@ update:
vfs_unbusy(mp, td);
free((caddr_t)mp, M_MOUNT);
}
- vput(vp);
+ vrele(vp);
return (EOPNOTSUPP);
}
diff --git a/sys/kern/vfs_syscalls.c b/sys/kern/vfs_syscalls.c
index 5cbef87..6360b60 100644
--- a/sys/kern/vfs_syscalls.c
+++ b/sys/kern/vfs_syscalls.c
@@ -547,7 +547,7 @@ update:
vfs_unbusy(mp, td);
free((caddr_t)mp, M_MOUNT);
}
- vput(vp);
+ vrele(vp);
error = EOPNOTSUPP;
goto bad;
}
@@ -895,7 +895,7 @@ update:
vfs_unbusy(mp, td);
free((caddr_t)mp, M_MOUNT);
}
- vput(vp);
+ vrele(vp);
return (EOPNOTSUPP);
}
OpenPOWER on IntegriCloud