Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ufs/ufs Fix typo in comment: bp->b_bcount, not bp->b_count.
details: https://anonhg.NetBSD.org/src/rev/c469665b4ec6
branches: trunk
changeset: 779592:c469665b4ec6
user: riastradh <riastradh%NetBSD.org@localhost>
date: Mon Jun 04 19:58:57 2012 +0000
description:
Fix typo in comment: bp->b_bcount, not bp->b_count.
diffstat:
sys/ufs/ufs/ufs_rename.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r fb1d4663e516 -r c469665b4ec6 sys/ufs/ufs/ufs_rename.c
--- a/sys/ufs/ufs/ufs_rename.c Mon Jun 04 19:45:59 2012 +0000
+++ b/sys/ufs/ufs/ufs_rename.c Mon Jun 04 19:58:57 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ufs_rename.c,v 1.3 2012/06/04 19:37:36 riastradh Exp $ */
+/* $NetBSD: ufs_rename.c,v 1.4 2012/06/04 19:58:57 riastradh Exp $ */
/*-
* Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ufs_rename.c,v 1.3 2012/06/04 19:37:36 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ufs_rename.c,v 1.4 2012/06/04 19:58:57 riastradh Exp $");
#include <sys/param.h>
#include <sys/buf.h>
@@ -680,7 +680,7 @@
/*
* Guarantee we sha'n't go past the end of the buffer we got.
* dirbuf is bp->b_data + (search_start & (iosize - 1)), and
- * the valid range is [bp->b_data, bp->b_data + bp->b_count).
+ * the valid range is [bp->b_data, bp->b_data + bp->b_bcount).
*/
KASSERT((search_end - search_start) <=
(bp->b_bcount - (search_start & (mp->mnt_stat.f_iosize - 1))));
Home |
Main Index |
Thread Index |
Old Index