summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsimonb <simonb@NetBSD.org>2002-09-26 21:35:27 +0000
committersimonb <simonb@NetBSD.org>2002-09-26 21:35:27 +0000
commitad2a80f193e5ccda054d9eb8c56ef2000feb2c91 (patch)
treed572b8ebe342e622de836a80e6960cf4b0e94152
parente66e457180f29d710ab3cd5a3e6b8eeb84c5ee0e (diff)
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.
-rw-r--r--sys/ufs/ffs/ffs_inode.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/ufs/ffs/ffs_inode.c b/sys/ufs/ffs/ffs_inode.c
index 6e18d2f9ac4..5b71554e77b 100644
--- a/sys/ufs/ffs/ffs_inode.c
+++ b/sys/ufs/ffs/ffs_inode.c
@@ -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 @@ ffs_truncate(v)
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