Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F106940227
D47954.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
626 B
Referenced Files
None
Subscribers
None
D47954.diff
View Options
diff --git a/sys/fs/tarfs/tarfs.h b/sys/fs/tarfs/tarfs.h
--- a/sys/fs/tarfs/tarfs.h
+++ b/sys/fs/tarfs/tarfs.h
@@ -74,7 +74,7 @@
struct timespec mtime;
struct timespec ctime;
struct timespec birthtime;
- unsigned long gen;
+ uint32_t gen;
/* Block map */
size_t nblk;
@@ -161,11 +161,10 @@
};
struct tarfs_fid {
- u_short len; /* length of data in bytes */
- u_short data0; /* force alignment */
- ino_t ino;
- unsigned long gen;
-} __packed;
+ u_short len; /* length of data in bytes */
+ uint32_t gen;
+ ino_t ino;
+};
#define TARFS_NODE_LOCK(tnp) \
mtx_lock(&(tnp)->lock)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jan 8, 7:11 PM (2 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15388198
Default Alt Text
D47954.diff (626 B)
Attached To
Mode
D47954: tarfs: 'struct tarfs_fid': Switch 'gen' to 'u_int', avoid packing
Attached
Detach File
Event Timeline
Log In to Comment