summaryrefslogtreecommitdiff
path: root/tmpfs
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2010-01-11 03:34:50 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2010-01-11 03:34:50 +0100
commit97c5690abeaa88767acf2ffbb55552e8278052c8 (patch)
treed4c9ea8bc9c864e4b816aacc6e99d31578b57ea8 /tmpfs
parent62e4f1a11b4598daa4a22fe3b868fde3c6fa818e (diff)
Fix tmpfs assertion
* tmpfs/tmpfs.h (tmpfs_dirent): Add padding field to push the name field after its position in struct dirent.
Diffstat (limited to 'tmpfs')
-rw-r--r--tmpfs/tmpfs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tmpfs/tmpfs.h b/tmpfs/tmpfs.h
index 3032ce3c..a0e1f7ad 100644
--- a/tmpfs/tmpfs.h
+++ b/tmpfs/tmpfs.h
@@ -64,6 +64,7 @@ struct tmpfs_dirent
{
struct tmpfs_dirent *next;
struct disknode *dn;
+ uint32_t pad;
uint8_t namelen;
char name[0];
};