[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] tmpfs: add padding to tmpfs_dirent structure

From: Sergio Lopez
Subject: Re: [PATCH] tmpfs: add padding to tmpfs_dirent structure
Date: Tue, 18 May 2010 17:47:40 +0200

El Tue, 18 May 2010 16:19:34 +0200
Sergio Lopez <slp@sinrega.org> escribió:

> Hi,
> This patch adds some padding to tmpfs_dirent structure as it's
> suggested in the wiki
> (http://www.gnu.org/software/hurd/hurd/translator/tmpfs.html).

I've taken a deeper look into this issue, and I think there's no need
to insert the padding into tmpfs_dirent structure, nor asserting that
this structure is bigger or equal than dirent itself, since
each time it adds an entry, dn_stat.st_size is actually increased by the
size of the latter. Or am I missing something?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]