diff --git a/sys/kern/vfs_extattr.c b/sys/kern/vfs_extattr.c index 5cbef87fd206..6360b6063860 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 5cbef87fd206..6360b6063860 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); }