Module Name: src Committed By: martin Date: Sat May 17 19:11:40 UTC 2014
Modified Files: src/sys/ufs/ufs: inode.h Log Message: Reorder struct ufid members to avoid padding (and save 4 bytes) on some architectures. To generate a diff of this commit: cvs rdiff -u -r1.67 -r1.68 src/sys/ufs/ufs/inode.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/ufs/ufs/inode.h diff -u src/sys/ufs/ufs/inode.h:1.67 src/sys/ufs/ufs/inode.h:1.68 --- src/sys/ufs/ufs/inode.h:1.67 Wed May 14 13:46:19 2014 +++ src/sys/ufs/ufs/inode.h Sat May 17 19:11:40 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: inode.h,v 1.67 2014/05/14 13:46:19 martin Exp $ */ +/* $NetBSD: inode.h,v 1.68 2014/05/17 19:11:40 martin Exp $ */ /* * Copyright (c) 1982, 1989, 1993 @@ -295,8 +295,8 @@ struct indir { struct ufid { u_int16_t ufid_len; /* Length of structure. */ u_int16_t ufid_pad; /* Force 32-bit alignment. */ - ino_t ufid_ino; /* File number (ino). */ int32_t ufid_gen; /* Generation number. */ + ino_t ufid_ino; /* File number (ino). */ }; #endif /* _KERNEL */