Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ufs/lfs get rid of unused variable aflags
details: https://anonhg.NetBSD.org/src/rev/abb0ebbb8f70
branches: trunk
changeset: 485318:abb0ebbb8f70
user: perseant <perseant%NetBSD.org@localhost>
date: Mon Apr 24 19:07:16 2000 +0000
description:
get rid of unused variable aflags
diffstat:
sys/ufs/lfs/lfs_inode.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 599b489059ac -r abb0ebbb8f70 sys/ufs/lfs/lfs_inode.c
--- a/sys/ufs/lfs/lfs_inode.c Mon Apr 24 17:55:24 2000 +0000
+++ b/sys/ufs/lfs/lfs_inode.c Mon Apr 24 19:07:16 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lfs_inode.c,v 1.33 2000/04/23 21:10:27 perseant Exp $ */
+/* $NetBSD: lfs_inode.c,v 1.34 2000/04/24 19:07:16 perseant Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -227,7 +227,7 @@
} */ *ap = v;
struct indir *inp;
int i;
- int error, aflags;
+ int error;
ufs_daddr_t *daddrp;
struct vnode *vp = ap->a_vp;
off_t length = ap->a_length;
@@ -275,7 +275,7 @@
* existing fragments get extended. (XXX Adding the new
* block is not really necessary.)
*/
- error = VOP_BALLOC(vp, length - 1, 1, ap->a_cred, aflags, &bp);
+ error = VOP_BALLOC(vp, length - 1, 1, ap->a_cred, 0, &bp);
if (error)
return (error);
VOP_BWRITE(bp);
Home |
Main Index |
Thread Index |
Old Index