summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2007-06-28 02:32:44 +0000
committerdelphij <delphij@FreeBSD.org>2007-06-28 02:32:44 +0000
commiteedf8bf53d17cf2e4f966b6ea63a96da5c55d478 (patch)
tree2de715ed13ec300b387f8f635b9595461e79ba7f /sys
parent94aa9c0f8b63e76f554e76d5ec581082203c4478 (diff)
downloadFreeBSD-src-eedf8bf53d17cf2e4f966b6ea63a96da5c55d478.zip
FreeBSD-src-eedf8bf53d17cf2e4f966b6ea63a96da5c55d478.tar.gz
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)
Diffstat (limited to 'sys')
-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 7eaf85b..34e5ca55 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;
};
/* --------------------------------------------------------------------- */
OpenPOWER on IntegriCloud