Source-Changes-HG archive

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

[src/netbsd-6]: src/sys/ufs/ufs Pull up following revision(s) (requested by m...



details:   https://anonhg.NetBSD.org/src/rev/41a3a5fdf559
branches:  netbsd-6
changeset: 774605:41a3a5fdf559
user:      riz <riz%NetBSD.org@localhost>
date:      Thu Sep 13 22:35:44 2012 +0000

description:
Pull up following revision(s) (requested by manu in ticket #556):
        sys/ufs/ufs/ufs_extattr.c: revision 1.40
Fix unmount returnign EBUSY if an attribute was autocreated: we hold
a useless reference that we never gave back

diffstat:

 sys/ufs/ufs/ufs_extattr.c |  10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

diffs (31 lines):

diff -r e64cada731e3 -r 41a3a5fdf559 sys/ufs/ufs/ufs_extattr.c
--- a/sys/ufs/ufs/ufs_extattr.c Thu Sep 13 22:33:05 2012 +0000
+++ b/sys/ufs/ufs/ufs_extattr.c Thu Sep 13 22:35:44 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ufs_extattr.c,v 1.36.2.1 2012/05/19 15:03:31 riz Exp $ */
+/*     $NetBSD: ufs_extattr.c,v 1.36.2.2 2012/09/13 22:35:44 riz Exp $ */
 
 /*-
  * Copyright (c) 1999-2002 Robert N. M. Watson
@@ -48,7 +48,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ufs_extattr.c,v 1.36.2.1 2012/05/19 15:03:31 riz Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ufs_extattr.c,v 1.36.2.2 2012/09/13 22:35:44 riz Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_ffs.h"
@@ -257,12 +257,6 @@
        }
 
        /*
-        * ufs_extattr_enable_with_open increases the vnode reference
-        * count. Not sure why, but do the same here.
-        */
-       vref(vp);
-
-       /*
         * Now enable attribute. 
         */
        error = ufs_extattr_enable(ump,attrnamespace, attrname, backing_vp, l);



Home | Main Index | Thread Index | Old Index