summaryrefslogtreecommitdiffstats
path: root/sys/ufs
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2013-07-10 18:19:48 +0000
committerpfg <pfg@FreeBSD.org>2013-07-10 18:19:48 +0000
commitf6bd1cee9dca0e29554beb0df1c6e0d562e6fca4 (patch)
tree40ee111881f84d55a958f450d7d0e9e55834bcf2 /sys/ufs
parentbbc0e1a927fd9ff0853dd0daef26e084fc0ed5dc (diff)
downloadFreeBSD-src-f6bd1cee9dca0e29554beb0df1c6e0d562e6fca4.zip
FreeBSD-src-f6bd1cee9dca0e29554beb0df1c6e0d562e6fca4.tar.gz
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
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 97ec63f..98ab1ed 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 */
OpenPOWER on IntegriCloud