Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ufs/ext2fs whitespace cleanup
details: https://anonhg.NetBSD.org/src/rev/6b8f66a8973d
branches: trunk
changeset: 347102:6b8f66a8973d
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Sun Aug 14 11:26:35 2016 +0000
description:
whitespace cleanup
diffstat:
sys/ufs/ext2fs/ext2fs_bmap.c | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
diffs (44 lines):
diff -r e9158f64a028 -r 6b8f66a8973d sys/ufs/ext2fs/ext2fs_bmap.c
--- a/sys/ufs/ext2fs/ext2fs_bmap.c Sun Aug 14 11:25:36 2016 +0000
+++ b/sys/ufs/ext2fs/ext2fs_bmap.c Sun Aug 14 11:26:35 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ext2fs_bmap.c,v 1.29 2016/08/14 11:25:36 jdolecek Exp $ */
+/* $NetBSD: ext2fs_bmap.c,v 1.30 2016/08/14 11:26:35 jdolecek Exp $ */
/*
* Copyright (c) 1989, 1991, 1993
@@ -65,7 +65,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ext2fs_bmap.c,v 1.29 2016/08/14 11:25:36 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ext2fs_bmap.c,v 1.30 2016/08/14 11:26:35 jdolecek Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -106,6 +106,7 @@
daddr_t *a_bnp;
int *a_runp;
} */ *ap = v;
+
/*
* Check for underlying vnode requests and ensure that logical
* to physical mapping is requested.
@@ -114,16 +115,13 @@
*ap->a_vpp = VTOI(ap->a_vp)->i_devvp;
if (ap->a_bnp == NULL)
return 0;
-
-
+
if (VTOI(ap->a_vp)->i_din.e2fs_din->e2di_flags & EXT2_EXTENTS)
return ext4_bmapext(ap->a_vp, ap->a_bn, ap->a_bnp,
ap->a_runp, NULL);
else
return ext2fs_bmaparray(ap->a_vp, ap->a_bn, ap->a_bnp, NULL,
NULL, ap->a_runp);
-
-
}
/*
Home |
Main Index |
Thread Index |
Old Index