aboutsummaryrefslogtreecommitdiff
path: root/sys/fs/tmpfs/tmpfs.h
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2007-06-28 02:32:44 +0000
committerXin LI <delphij@FreeBSD.org>2007-06-28 02:32:44 +0000
commit5ff9b9158f37b668d12a2352a52417035f2d69c3 (patch)
tree2de715ed13ec300b387f8f635b9595461e79ba7f /sys/fs/tmpfs/tmpfs.h
parentcac465aa7f2ffef15bd286f0fe0908e4d740361b (diff)
downloadsrc-5ff9b9158f37b668d12a2352a52417035f2d69c3.tar.gz
src-5ff9b9158f37b668d12a2352a52417035f2d69c3.zip
Reorder tf_gen and tf_id in struct tmpfs_fid. This
saves 8 bytes on amd64 architecture. Obtained from: NetBSD Approved by: re (tmpfs blanket)
Notes
Notes: svn path=/head/; revision=171067
Diffstat (limited to 'sys/fs/tmpfs/tmpfs.h')
-rw-r--r--sys/fs/tmpfs/tmpfs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/tmpfs/tmpfs.h b/sys/fs/tmpfs/tmpfs.h
index 7eaf85b07dcc..34e5ca551928 100644
--- a/sys/fs/tmpfs/tmpfs.h
+++ b/sys/fs/tmpfs/tmpfs.h
@@ -1,4 +1,4 @@
-/* $NetBSD: tmpfs.h,v 1.14 2006/02/10 16:00:02 christos Exp $ */
+/* $NetBSD: tmpfs.h,v 1.18 2006/03/31 20:27:49 riz Exp $ */
/*
* Copyright (c) 2005 The NetBSD Foundation, Inc.
@@ -337,8 +337,8 @@ struct tmpfs_mount {
struct tmpfs_fid {
uint16_t tf_len;
uint16_t tf_pad;
- unsigned long tf_gen;
ino_t tf_id;
+ unsigned long tf_gen;
};
/* --------------------------------------------------------------------- */