Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ufs/ffs always declare needswap
details: https://anonhg.NetBSD.org/src/rev/e6c425f5db3b
branches: trunk
changeset: 790739:e6c425f5db3b
user: christos <christos%NetBSD.org@localhost>
date: Sun Oct 20 00:00:51 2013 +0000
description:
always declare needswap
diffstat:
sys/ufs/ffs/ffs_alloc.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r 1888a73dbd07 -r e6c425f5db3b sys/ufs/ffs/ffs_alloc.c
--- a/sys/ufs/ffs/ffs_alloc.c Sat Oct 19 23:34:48 2013 +0000
+++ b/sys/ufs/ffs/ffs_alloc.c Sun Oct 20 00:00:51 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ffs_alloc.c,v 1.141 2013/10/19 19:20:50 martin Exp $ */
+/* $NetBSD: ffs_alloc.c,v 1.142 2013/10/20 00:00:51 christos Exp $ */
/*-
* Copyright (c) 2008, 2009 The NetBSD Foundation, Inc.
@@ -70,7 +70,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ffs_alloc.c,v 1.141 2013/10/19 19:20:50 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ffs_alloc.c,v 1.142 2013/10/20 00:00:51 christos Exp $");
#if defined(_KERNEL_OPT)
#include "opt_ffs.h"
@@ -1092,9 +1092,7 @@
daddr_t blkno;
int error, frags, allocsiz, i;
u_int8_t *blksfree;
-#ifdef FFS_EI
const int needswap = UFS_FSNEEDSWAP(fs);
-#endif
ump = ip->i_ump;
Home |
Main Index |
Thread Index |
Old Index