Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ufs/ffs Correct addressing of superblock updates.
details: https://anonhg.NetBSD.org/src/rev/16b5bed5cb4e
branches: trunk
changeset: 751496:16b5bed5cb4e
user: mlelstv <mlelstv%NetBSD.org@localhost>
date: Fri Feb 05 20:03:36 2010 +0000
description:
Correct addressing of superblock updates.
diffstat:
sys/ufs/ffs/ffs_vfsops.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r b79e56efa08b -r 16b5bed5cb4e sys/ufs/ffs/ffs_vfsops.c
--- a/sys/ufs/ffs/ffs_vfsops.c Fri Feb 05 19:22:25 2010 +0000
+++ b/sys/ufs/ffs/ffs_vfsops.c Fri Feb 05 20:03:36 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ffs_vfsops.c,v 1.256 2010/01/31 10:54:10 mlelstv Exp $ */
+/* $NetBSD: ffs_vfsops.c,v 1.257 2010/02/05 20:03:36 mlelstv Exp $ */
/*-
* Copyright (c) 2008, 2009 The NetBSD Foundation, Inc.
@@ -61,7 +61,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ffs_vfsops.c,v 1.256 2010/01/31 10:54:10 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ffs_vfsops.c,v 1.257 2010/02/05 20:03:36 mlelstv Exp $");
#if defined(_KERNEL_OPT)
#include "opt_ffs.h"
@@ -1931,7 +1931,7 @@
u_int32_t saveflag;
error = ffs_getblk(mp->um_devvp,
- fs->fs_sblockloc >> (fs->fs_fshift - fs->fs_fsbtodb), FFS_NOBLK,
+ fs->fs_sblockloc / DEV_BSIZE, FFS_NOBLK,
fs->fs_sbsize, false, &bp);
if (error)
return error;
Home |
Main Index |
Thread Index |
Old Index