Re: [PATCH 0/6] Extended file stat system call
- From: David Howells <dhowells redhat com>
- To: "Myklebust, Trond" <Trond Myklebust netapp com>
- Cc: "linux-cifs vger kernel org" <linux-cifs vger kernel org>, "linux-nfs vger kernel org" <linux-nfs vger kernel org>, "nautilus-list gnome org" <nautilus-list gnome org>, "libc-alpha sourceware org" <libc-alpha sourceware org>, "kfm-devel kde org" <kfm-devel kde org>, "wine-devel winehq org" <wine-devel winehq org>, "samba-technical lists samba org" <samba-technical lists samba org>, dhowells redhat com, Steve French <smfrench gmail com>, "linux-api vger kernel org" <linux-api vger kernel org>, "linux-fsdevel vger kernel org" <linux-fsdevel vger kernel org>, "linux-ext4 vger kernel org" <linux-ext4 vger kernel org>
- Subject: Re: [PATCH 0/6] Extended file stat system call
- Date: Thu, 26 Apr 2012 22:57:56 +0100
Myklebust, Trond <Trond Myklebust netapp com> 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?
] [Thread Prev