Source-Changes-HG archive

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

[src/trunk]: src/sys/ufs/lfs Mark lfs vnodes with VV_LOCKSWORK, same as ffs.



details:   https://anonhg.NetBSD.org/src/rev/978c4bdb6abf
branches:  trunk
changeset: 1012632:978c4bdb6abf
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Tue Aug 04 03:00:47 2020 +0000

description:
Mark lfs vnodes with VV_LOCKSWORK, same as ffs.

diffstat:

 sys/ufs/lfs/lfs_vfsops.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 8afd79e94ad1 -r 978c4bdb6abf sys/ufs/lfs/lfs_vfsops.c
--- a/sys/ufs/lfs/lfs_vfsops.c  Tue Aug 04 03:00:10 2020 +0000
+++ b/sys/ufs/lfs/lfs_vfsops.c  Tue Aug 04 03:00:47 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lfs_vfsops.c,v 1.378 2020/04/04 20:49:31 ad Exp $      */
+/*     $NetBSD: lfs_vfsops.c,v 1.379 2020/08/04 03:00:47 riastradh Exp $       */
 
 /*-
  * Copyright (c) 1999, 2000, 2001, 2002, 2003, 2007, 2007
@@ -61,7 +61,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: lfs_vfsops.c,v 1.378 2020/04/04 20:49:31 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lfs_vfsops.c,v 1.379 2020/08/04 03:00:47 riastradh Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_lfs.h"
@@ -1592,6 +1592,7 @@
 
        vp->v_tag = VT_LFS;
        vp->v_op = lfs_vnodeop_p;
+       vp->v_vflag |= VV_LOCKSWORK;
        vp->v_data = ip;
 }
 



Home | Main Index | Thread Index | Old Index