diff options
| author | oster <oster@NetBSD.org> | 2004-01-09 23:31:37 +0000 |
|---|---|---|
| committer | oster <oster@NetBSD.org> | 2004-01-09 23:31:37 +0000 |
| commit | ac6b86acbbf8cde88ff3ad27069a64bee91b5b27 (patch) | |
| tree | 1d14c3cb645d2de691bb1c5178566fa801341d34 /sys/dev/raidframe | |
| parent | 35d7c1ee7e1e482a59ae9c829e6cac7687c93a56 (diff) | |
[This file should have been committed with the other
rf_enableAtomicRMW changes.]
Cleanup rf_enableAtomicRMW and its use. According to the comments, we
can't set this to anything other than zero anyway. Shaves off another
900 bytes. lu_flag's days are numbered now, as are the middle
parameters of RF_CREATE_PARAM3.
Diffstat (limited to 'sys/dev/raidframe')
| -rw-r--r-- | sys/dev/raidframe/rf_parityloggingdags.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/raidframe/rf_parityloggingdags.c b/sys/dev/raidframe/rf_parityloggingdags.c index b1f1e0bcc4f..34ef0c5989d 100644 --- a/sys/dev/raidframe/rf_parityloggingdags.c +++ b/sys/dev/raidframe/rf_parityloggingdags.c @@ -1,4 +1,4 @@ -/* $NetBSD: rf_parityloggingdags.c,v 1.10 2003/12/29 03:33:48 oster Exp $ */ +/* $NetBSD: rf_parityloggingdags.c,v 1.11 2004/01/09 23:31:37 oster Exp $ */ /* * Copyright (c) 1995 Carnegie-Mellon University. * All rights reserved. @@ -31,7 +31,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: rf_parityloggingdags.c,v 1.10 2003/12/29 03:33:48 oster Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rf_parityloggingdags.c,v 1.11 2004/01/09 23:31:37 oster Exp $"); #include "rf_archs.h" #include "opt_raid_diagnostic.h" @@ -342,7 +342,7 @@ rf_CommonCreateParityLoggingSmallWriteDAG( #ifdef RAID_DIAGNOSTIC long nfaults = qfuncs ? 2 : 1; #endif /* RAID_DIAGNOSTIC */ - int lu_flag = (rf_enableAtomicRMW) ? 1 : 0; /* lock/unlock flag */ + int lu_flag = 0; /* lock/unlock flag */ if (rf_dagDebug) printf("[Creating parity-logging small-write DAG]\n"); |
