Source-Changes-HG archive

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

[src/trunk]: src/sys/ufs/lfs Ask some question about the code in a XXX comment



details:   https://anonhg.NetBSD.org/src/rev/cf4939858a36
branches:  trunk
changeset: 826175:cf4939858a36
user:      maya <maya%NetBSD.org@localhost>
date:      Sat Aug 19 14:22:49 2017 +0000

description:
Ask some question about the code in a XXX comment

diffstat:

 sys/ufs/lfs/lfs_pages.c |  11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diffs (32 lines):

diff -r d385781cb66e -r cf4939858a36 sys/ufs/lfs/lfs_pages.c
--- a/sys/ufs/lfs/lfs_pages.c   Sat Aug 19 12:01:08 2017 +0000
+++ b/sys/ufs/lfs/lfs_pages.c   Sat Aug 19 14:22:49 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lfs_pages.c,v 1.14 2017/06/10 05:29:36 maya Exp $      */
+/*     $NetBSD: lfs_pages.c,v 1.15 2017/08/19 14:22:49 maya Exp $      */
 
 /*-
  * Copyright (c) 1999, 2000, 2001, 2002, 2003 The NetBSD Foundation, Inc.
@@ -60,7 +60,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: lfs_pages.c,v 1.14 2017/06/10 05:29:36 maya Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lfs_pages.c,v 1.15 2017/08/19 14:22:49 maya Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_compat_netbsd.h"
@@ -728,8 +728,11 @@
                mutex_enter(vp->v_interlock);
                lfs_writer_leave(fs);
 
-               /* The flush will have cleaned out this vnode as well,
-                  no need to do more to it. */
+               /*
+                * The flush will have cleaned out this vnode as well,
+                *  no need to do more to it.
+                *  XXX then why are we falling through and continuing?
+                */
        }
 
        /*



Home | Main Index | Thread Index | Old Index