aboutsummaryrefslogtreecommitdiff
path: root/sys/ufs
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2013-07-10 18:19:48 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2013-07-10 18:19:48 +0000
commit53aa3d1a99091aec7718649205461249d4cccce1 (patch)
tree40ee111881f84d55a958f450d7d0e9e55834bcf2 /sys/ufs
parent736aebfc438ecd34d01e3f7489a34250174b26da (diff)
downloadsrc-53aa3d1a99091aec7718649205461249d4cccce1.tar.gz
src-53aa3d1a99091aec7718649205461249d4cccce1.zip
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
Notes
Notes: svn path=/head/; revision=253163
Diffstat (limited to 'sys/ufs')
-rw-r--r--sys/ufs/ufs/inode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ufs/ufs/inode.h b/sys/ufs/ufs/inode.h
index 97ec63f413b3..98ab1ed3d3db 100644
--- a/sys/ufs/ufs/inode.h
+++ b/sys/ufs/ufs/inode.h
@@ -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 */