]> git.baikalelectronics.ru Git - kernel.git/commit
alpha: add standard statfs64/fstatfs64 syscalls
authorArnd Bergmann <arnd@arndb.de>
Fri, 11 Jan 2019 12:57:12 +0000 (13:57 +0100)
committerArnd Bergmann <arnd@arndb.de>
Fri, 25 Jan 2019 16:22:51 +0000 (17:22 +0100)
commited0be15221e6ad98d0e71b29d95db52ac200e0bf
tree2d4fbf11d5f690acbef7a9cbd7700b7e6bc67391
parent81612d262b65125886e817b6b714bacdae838b0f
alpha: add standard statfs64/fstatfs64 syscalls

As Joseph Myers points out, alpha has never had a standard statfs64
interface and instead returns only 32-bit numbers here.

While there is an old osf_statfs64 system call that returns additional
data, this has some other quirks and does not get used in glibc.

I considered making the stat64 structure layout compatible with
with the one used by the kernel on most other 64 bit architecture that
implement it (ia64, parisc, powerpc, and sparc), but in the end
decided to stay with the one that was traditionally defined in
the alpha headers but not used, since this is also what glibc
exposes to user space.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/alpha/kernel/syscalls/syscall.tbl