Page MenuHomeFreeBSD

D47954.diff
No OneTemporary

D47954.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
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)

Event Timeline