From 0c0a24171e5c2ddfa2268807f5fedc6d8ce6568e Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Fri, 27 Aug 2010 01:59:04 +0200 Subject: Revert "Fix tmpfs assertion" As discussed up to http://lists.gnu.org/archive/html/bug-hurd/2010-06/msg00021.html this reverts commit 97c5690abeaa88767acf2ffbb55552e8278052c8 and removes the corresponding assertion. This is related to commit 2f7f90ce15cce79ef83a8d273e3a27b5b527c7d7 which changes how much st_size is increased. * tmpfs/tmpfs.h (tmpfs_dirent): Remove `padding' field. * tmpfs/dir.c (diskfs_get_directs): Remove assertion on the position of the `name' field of struct tmpfs_dirent compared to the position of the `d_name' field of struct dirent. --- tmpfs/tmpfs.h | 1 - 1 file changed, 1 deletion(-) (limited to 'tmpfs/tmpfs.h') diff --git a/tmpfs/tmpfs.h b/tmpfs/tmpfs.h index 3d38e2ab..3cb31e6b 100644 --- a/tmpfs/tmpfs.h +++ b/tmpfs/tmpfs.h @@ -65,7 +65,6 @@ struct tmpfs_dirent { struct tmpfs_dirent *next; struct disknode *dn; - uint32_t pad; uint8_t namelen; char name[0]; }; -- cgit v1.2.3