Restrict generation numbers to 32bit values - we would have had to bump

_VFS_MAXFIDSZ to 24 otherwise for 64bit archs.
This commit is contained in:
martin 2006-03-26 20:18:58 +00:00
parent 0cccd65efb
commit 625f1bbe61

View File

@ -1,4 +1,4 @@
/* $NetBSD: tmpfs.h,v 1.16 2006/02/16 20:17:19 perry Exp $ */
/* $NetBSD: tmpfs.h,v 1.17 2006/03/26 20:18:58 martin Exp $ */
/*
* Copyright (c) 2005, 2006 The NetBSD Foundation, Inc.
@ -287,7 +287,7 @@ struct tmpfs_fid {
uint16_t tf_len;
uint16_t tf_pad;
ino_t tf_id;
unsigned long tf_gen;
uint32_t tf_gen;
};
/* --------------------------------------------------------------------- */