[PATCH 0/6] Extended file stat system call

David Howells dhowells-H+wXaHxf7aLQT0dZR+AlfA at public.gmane.org
Thu Apr 26 22:57:56 BST 2012


Myklebust, Trond <Trond.Myklebust-HgOvQuBEEgTQT0dZR+AlfA at public.gmane.org> wrote:

> You are still not explaining why they need to know the values at all? If
> the values are bogus, then don't return them, and don't set the flag
> that says they are being returned.

What if the xstat() and struct xstat eventually becomes what userspace uses as
stat() (as a wrapper) and struct stat (if such a thing is possible with glibc
versioning)?  Do older programs that think they're using stat() and don't know
about the extra fields available expect to see a useful value in st_ino?

David



More information about the kfm-devel mailing list