Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/fs/tmpfs Start inode numbers on 2 to mimic UFS tradition...
details: https://anonhg.NetBSD.org/src/rev/a11426173a16
branches: trunk
changeset: 584536:a11426173a16
user: jmmv <jmmv%NetBSD.org@localhost>
date: Fri Sep 23 13:59:16 2005 +0000
description:
Start inode numbers on 2 to mimic UFS tradition (and to avoid problems if
some utility relies on this).
diffstat:
sys/fs/tmpfs/tmpfs_vfsops.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 8f86a84428d3 -r a11426173a16 sys/fs/tmpfs/tmpfs_vfsops.c
--- a/sys/fs/tmpfs/tmpfs_vfsops.c Fri Sep 23 12:10:31 2005 +0000
+++ b/sys/fs/tmpfs/tmpfs_vfsops.c Fri Sep 23 13:59:16 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tmpfs_vfsops.c,v 1.4 2005/09/23 12:10:32 jmmv Exp $ */
+/* $NetBSD: tmpfs_vfsops.c,v 1.5 2005/09/23 13:59:16 jmmv Exp $ */
/*
* Copyright (c) 2005 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tmpfs_vfsops.c,v 1.4 2005/09/23 12:10:32 jmmv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tmpfs_vfsops.c,v 1.5 2005/09/23 13:59:16 jmmv Exp $");
#include <sys/param.h>
#include <sys/types.h>
@@ -149,7 +149,7 @@
KASSERT(tmp != NULL);
tmp->tm_nodes_max = nodes;
- tmp->tm_nodes_last = 1;
+ tmp->tm_nodes_last = 2;
LIST_INIT(&tmp->tm_nodes_used);
LIST_INIT(&tmp->tm_nodes_avail);
Home |
Main Index |
Thread Index |
Old Index