From 97c5690abeaa88767acf2ffbb55552e8278052c8 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 11 Jan 2010 03:34:50 +0100 Subject: Fix tmpfs assertion * tmpfs/tmpfs.h (tmpfs_dirent): Add padding field to push the name field after its position in struct dirent. --- tmpfs/tmpfs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tmpfs') 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]; }; -- cgit v1.2.3