Source-Changes-HG archive

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

[src/trunk]: src/sys/ufs/ffs Move a brace that is in the wrong position when ...



details:   https://anonhg.NetBSD.org/src/rev/2a5db99bf085
branches:  trunk
changeset: 537105:2a5db99bf085
user:      simonb <simonb%NetBSD.org@localhost>
date:      Thu Sep 26 21:35:27 2002 +0000

description:
Move a brace that is in the wrong position when changes from FreeBSD
were added in rev 1.51.  This may fix the "N lost blocks" problem some
people have noticed.
Reviewed by fvdl.

diffstat:

 sys/ufs/ffs/ffs_inode.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r c23d1bb67586 -r 2a5db99bf085 sys/ufs/ffs/ffs_inode.c
--- a/sys/ufs/ffs/ffs_inode.c   Thu Sep 26 21:30:30 2002 +0000
+++ b/sys/ufs/ffs/ffs_inode.c   Thu Sep 26 21:35:27 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ffs_inode.c,v 1.51 2001/12/18 10:57:21 fvdl Exp $      */
+/*     $NetBSD: ffs_inode.c,v 1.52 2002/09/26 21:35:27 simonb Exp $    */
 
 /*
  * Copyright (c) 1982, 1986, 1989, 1993
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ffs_inode.c,v 1.51 2001/12/18 10:57:21 fvdl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ffs_inode.c,v 1.52 2002/09/26 21:35:27 simonb Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_ffs.h"
@@ -299,9 +299,9 @@
                            0, 0, ap->a_p)) != 0) {
                                lockmgr(&gp->g_glock, LK_RELEASE, NULL);
                                return (error);
+                       }
                        if (oip->i_flag & IN_SPACECOUNTED)
                                fs->fs_pendingblocks -= oip->i_ffs_blocks;
-                       }
                } else {
                        uvm_vnp_setsize(ovp, length);
 #ifdef QUOTA



Home | Main Index | Thread Index | Old Index