linux-stable/arch/s390
Heiko Carstens 96c0a6a72d s390,alpha: switch to 64-bit ino_t
s390 and alpha are the only 64 bit architectures with a 32-bit ino_t.
Since this is quite unusual this causes bugs from time to time.

See e.g. commit ebce3eb2f7 ("ceph: fix inode number handling on
arches with 32-bit ino_t") for an example.

This (obviously) also prevents s390 and alpha to use 64-bit ino_t for
tmpfs. See commit b85a7a8bb5 ("tmpfs: disallow CONFIG_TMPFS_INODE64
on s390").

Therefore switch both s390 and alpha to 64-bit ino_t. This should only
have an effect on the ustat system call. To prevent ABI breakage
define struct ustat compatible to the old layout and change
sys_ustat() accordingly.

Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
2021-02-13 17:17:53 +01:00
..
appldata s390/appldata: use struct_size() helper 2020-06-29 16:32:34 +02:00
boot kasan, x86, s390: update undef CONFIG_KASAN 2020-12-22 12:55:08 -08:00
configs s390/vdso: implement generic vdso time namespace support 2021-02-09 15:57:05 +01:00
crypto s390/crypto: improve retry logic in case of master key change 2021-01-27 13:00:48 +01:00
hypfs fs_parse: fold fs_parameter_desc/fs_parameter_spec 2020-02-07 14:48:37 -05:00
include s390: add stack for machine check handler 2021-02-13 17:17:53 +01:00
kernel s390: split cleanup_sie 2021-02-13 17:17:53 +01:00
kvm s390: convert to generic entry 2021-01-19 12:29:26 +01:00
lib s390: convert to generic entry 2021-01-19 12:29:26 +01:00
mm s390: convert to generic entry 2021-01-19 12:29:26 +01:00
net s390/bpf: Fix multiple tail calls 2020-09-14 18:21:31 -07:00
oprofile s390/unwind: introduce stack unwind API 2019-05-02 13:54:11 +02:00
pci s390/pci: refactor zpci_create_device() 2021-02-09 15:57:04 +01:00
purgatory - Add support for the hugetlb_cma command line option to allocate gigantic 2020-12-14 16:22:26 -08:00
tools .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
Kbuild s390/numa: move code to arch/s390/kernel 2020-08-11 18:16:55 +02:00
Kconfig s390,alpha: switch to 64-bit ino_t 2021-02-13 17:17:53 +01:00
Kconfig.debug s390: convert to generic entry 2021-01-19 12:29:26 +01:00
Makefile s390/decompressor: add stacktrace support 2020-11-20 19:19:11 +01:00