Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ufs/ext2fs s/entires/entries/ in local variable definition.
details: https://anonhg.NetBSD.org/src/rev/54ee73a5eb61
branches: trunk
changeset: 365939:54ee73a5eb61
user: andvar <andvar%NetBSD.org@localhost>
date: Wed May 04 07:34:28 2022 +0000
description:
s/entires/entries/ in local variable definition.
diffstat:
sys/ufs/ext2fs/ext2fs_htree.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (47 lines):
diff -r 73a4ba608b8f -r 54ee73a5eb61 sys/ufs/ext2fs/ext2fs_htree.c
--- a/sys/ufs/ext2fs/ext2fs_htree.c Wed May 04 07:32:50 2022 +0000
+++ b/sys/ufs/ext2fs/ext2fs_htree.c Wed May 04 07:34:28 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ext2fs_htree.c,v 1.9 2016/08/23 06:23:26 christos Exp $ */
+/* $NetBSD: ext2fs_htree.c,v 1.10 2022/05/04 07:34:28 andvar Exp $ */
/*-
* Copyright (c) 2010, 2012 Zheng Liu <lz%freebsd.org@localhost>
@@ -29,7 +29,7 @@
* $FreeBSD: head/sys/fs/ext2fs/ext2fs_htree.c 294653 2016-01-24 02:41:49Z pfg $
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ext2fs_htree.c,v 1.9 2016/08/23 06:23:26 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ext2fs_htree.c,v 1.10 2022/05/04 07:34:28 andvar Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -495,7 +495,7 @@
char *newidxblock = NULL;
struct ext2fs_htree_node *dst_node;
struct ext2fs_htree_entry *dst_entries;
- struct ext2fs_htree_entry *root_entires;
+ struct ext2fs_htree_entry *root_entries;
struct buf *dst_bp = NULL;
int error, write_bp = 0, write_dst_bp = 0, write_info = 0;
@@ -517,7 +517,7 @@
ent_num = ext2fs_htree_get_count(entries);
if (ent_num == ext2fs_htree_get_limit(entries)) {
/* Split the index node. */
- root_entires = info.h_levels[0].h_entries;
+ root_entries = info.h_levels[0].h_entries;
newidxblock = malloc(blksize, M_TEMP, M_WAITOK | M_ZERO);
dst_node = (struct ext2fs_htree_node *)newidxblock;
dst_entries = dst_node->h_entries;
@@ -543,8 +543,8 @@
if (info.h_levels_num == 2) {
uint16_t src_ent_num, dst_ent_num;
- if (ext2fs_htree_get_count(root_entires) ==
- ext2fs_htree_get_limit(root_entires)) {
+ if (ext2fs_htree_get_count(root_entries) ==
+ ext2fs_htree_get_limit(root_entries)) {
/* Directory index is full */
error = EIO;
goto finish;
Home |
Main Index |
Thread Index |
Old Index