Re: [PATCH] ramfs: pretend dirent sizes

From: Jan Blunck
Date: Tue Jul 19 2005 - 04:13:23 EST


Bodo Eggert wrote:
Jan Blunck <j.blunck@xxxxxxxxxxxxx> wrote:

Andrew Morton wrote:


> Does it really matter?
>

Yes! At least for me and my union mounts implementation.


Is there a reason for not using size == link-count (or even static)?

Yes, the link count is only increased for subdirectories (because of the ".." link) and not for regular files.

Jan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/