svn commit: r253163 - head/sys/ufs/ufs

Pedro F. Giffuni pfg at FreeBSD.org
Wed Jul 10 18:19:48 UTC 2013


Author: pfg
Date: Wed Jul 10 18:19:48 2013
New Revision: 253163
URL: http://svnweb.freebsd.org/changeset/base/253163

Log:
  Change i_gen in UFS to an unsigned type.
  
  Missing type change from r252435.
  
  This fixes a "Stale NFS file handle" error.
  
  Reported by:	Claude Bisson
  Tested by:	Claude Bisson
  Pointed hat:	pfg

Modified:
  head/sys/ufs/ufs/inode.h

Modified: head/sys/ufs/ufs/inode.h
==============================================================================
--- head/sys/ufs/ufs/inode.h	Wed Jul 10 18:07:01 2013	(r253162)
+++ head/sys/ufs/ufs/inode.h	Wed Jul 10 18:19:48 2013	(r253163)
@@ -180,7 +180,7 @@ struct ufid {
 	u_int16_t ufid_len;	/* Length of structure. */
 	u_int16_t ufid_pad;	/* Force 32-bit alignment. */
 	uint32_t  ufid_ino;	/* File number (ino). */
-	int32_t	  ufid_gen;	/* Generation number. */
+	uint32_t  ufid_gen;	/* Generation number. */
 };
 #endif /* _KERNEL */
 


More information about the svn-src-all mailing list