Revision ad69c389ec110ea54f8b0c0884b255340ef1c736 authored by Seth Forshee on 09 February 2021, 21:42:17 UTC, committed by Linus Torvalds on 10 February 2021, 01:26:44 UTC
As with s390, alpha is a 64-bit architecture with a 32-bit ino_t. With CONFIG_TMPFS_INODE64=y tmpfs mounts will get 64-bit inode numbers and display "inode64" in the mount options, whereas passing "inode64" in the mount options will fail. This leads to erroneous behaviours such as this: # mkdir mnt # mount -t tmpfs nodev mnt # mount -o remount,rw mnt mount: /home/ubuntu/mnt: mount point not mounted or bad option. Prevent CONFIG_TMPFS_INODE64 from being selected on alpha. Link: https://lkml.kernel.org/r/20210208215726.608197-1-seth.forshee@canonical.com Fixes: ea3271f7196c ("tmpfs: support 64-bit inums per-sb") Signed-off-by: Seth Forshee <seth.forshee@canonical.com> Acked-by: Hugh Dickins <hughd@google.com> Cc: Chris Down <chris@chrisdown.name> Cc: Amir Goldstein <amir73il@gmail.com> Cc: Richard Henderson <rth@twiddle.net> Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru> Cc: Matt Turner <mattst88@gmail.com> Cc: <stable@vger.kernel.org> [5.9+] Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent b85a7a8
File | Mode | Size |
---|---|---|
unittest-data | ||
Kconfig | -rw-r--r-- | 2.3 KB |
Makefile | -rw-r--r-- | 624 bytes |
address.c | -rw-r--r-- | 27.1 KB |
base.c | -rw-r--r-- | 59.4 KB |
device.c | -rw-r--r-- | 8.7 KB |
dynamic.c | -rw-r--r-- | 22.7 KB |
fdt.c | -rw-r--r-- | 31.5 KB |
fdt_address.c | -rw-r--r-- | 6.2 KB |
irq.c | -rw-r--r-- | 18.6 KB |
kobj.c | -rw-r--r-- | 3.8 KB |
of_net.c | -rw-r--r-- | 3.4 KB |
of_numa.c | -rw-r--r-- | 3.9 KB |
of_private.h | -rw-r--r-- | 5.7 KB |
of_reserved_mem.c | -rw-r--r-- | 11.2 KB |
overlay.c | -rw-r--r-- | 33.9 KB |
pdt.c | -rw-r--r-- | 4.8 KB |
platform.c | -rw-r--r-- | 20.0 KB |
property.c | -rw-r--r-- | 40.0 KB |
resolver.c | -rw-r--r-- | 8.7 KB |
unittest.c | -rw-r--r-- | 92.3 KB |
Computing file changes ...