diff options
author | mux <mux@FreeBSD.org> | 2002-05-20 14:59:43 +0000 |
---|---|---|
committer | mux <mux@FreeBSD.org> | 2002-05-20 14:59:43 +0000 |
commit | 85aa3f836d74b6a56e946ff36ce9a2466fe00fef (patch) | |
tree | b96d459c0f907c9572fcd455f44ae7fb83531471 | |
parent | 531943a766cf8c4c616513e850124e60fec019b2 (diff) | |
download | FreeBSD-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.c | 4 | ||||
-rw-r--r-- | sys/kern/vfs_syscalls.c | 4 |
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); } |