statfs64 missing
Quoted 9 lines · Benjamin LaHaise
On Thu, Oct 17, 2002 at 02:01:11AM +0200, Andi Kleen wrote:
...Quoted 6 lines
So it boils down to if the new fields are important enough to justify the pain they cause on 64bit.
(I ran into a similar issue with my nanosecond stat patchkit - alpha stat is 64bit clean, but doesn't have the padding for ns fields added used in later ports)
Quoted 5 lines
If any new
stat()type syscalls are added, make sure that a length parameter of the structure gets passed in from userland, as that way we will be able to extend the available information without introducing yet another syscall on every arch (this has happened enough times now that we should try to get it right).
And if VFS could get access to dentry which was used for statfs, I (and ncpfs) will be very happy, as then I can report space available for user after applying directory restrictions just through normal statfs call, instead of using own special call.
I understand that then it becomes more inode than superblock operation, and that it is too late for 2.6...
Thanks,
Petr Vandrovec [email protected]