Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/fs/hfs vrele, not vput for unlocked devvp



details:   https://anonhg.NetBSD.org/src/rev/4b1c5e6e2634
branches:  trunk
changeset: 749592:4b1c5e6e2634
user:      pooka <pooka%NetBSD.org@localhost>
date:      Thu Dec 03 14:29:04 2009 +0000

description:
vrele, not vput for unlocked devvp

diffstat:

 sys/fs/hfs/hfs_vfsops.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r d7c25bfa374a -r 4b1c5e6e2634 sys/fs/hfs/hfs_vfsops.c
--- a/sys/fs/hfs/hfs_vfsops.c   Thu Dec 03 14:27:16 2009 +0000
+++ b/sys/fs/hfs/hfs_vfsops.c   Thu Dec 03 14:29:04 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: hfs_vfsops.c,v 1.23 2009/11/27 16:11:35 pooka Exp $    */
+/*     $NetBSD: hfs_vfsops.c,v 1.24 2009/12/03 14:29:04 pooka Exp $    */
 
 /*-
  * Copyright (c) 2005, 2007 The NetBSD Foundation, Inc.
@@ -99,7 +99,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hfs_vfsops.c,v 1.23 2009/11/27 16:11:35 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hfs_vfsops.c,v 1.24 2009/12/03 14:29:04 pooka Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_compat_netbsd.h"
@@ -438,7 +438,7 @@
        cbargs.closevol = (void*)&argsclose;
        hfslib_close_volume(&hmp->hm_vol, &cbargs);
        
-       vput(hmp->hm_devvp);
+       vrele(hmp->hm_devvp);
 
        free(hmp, M_HFSMNT);
        mp->mnt_data = NULL;



Home | Main Index | Thread Index | Old Index