Page MenuHomeFreeBSD

D47954.id147920.diff
No OneTemporary

D47954.id147920.diff

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

Mime Type
text/plain
Expires
Sat, Feb 8, 8:36 AM (2 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15388198
Default Alt Text
D47954.id147920.diff (626 B)

Event Timeline