]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
sysv: Remove the filesystem
authorJan Kara <jack@suse.cz>
Thu, 20 Feb 2025 16:39:41 +0000 (17:39 +0100)
committerChristian Brauner <brauner@kernel.org>
Fri, 21 Feb 2025 09:32:47 +0000 (10:32 +0100)
commit448fa70158f9b348e71869cfe4a31988e07b20b2
tree566093d1ccb4dd055bb5f2f2b6a1b87be88a6adf
parent00dac020ca2a2d82c3e4057a930794cca593ea77
sysv: Remove the filesystem

Since 2002 (change "Replace BKL for chain locking with sysvfs-private
rwlock") the sysv filesystem was doing IO under a rwlock in its
get_block() function (yes, a non-sleepable lock hold over a function
used to read inode metadata for all reads and writes).  Nobody noticed
until syzbot in 2023 [1]. This shows nobody is using the filesystem.
Just drop it.

[1] https://lore.kernel.org/all/0000000000000ccf9a05ee84f5b0@google.com/

Signed-off-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20250220163940.10155-2-jack@suse.cz
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
37 files changed:
Documentation/filesystems/index.rst
Documentation/filesystems/sysv-fs.rst [deleted file]
MAINTAINERS
arch/loongarch/configs/loongson3_defconfig
arch/m68k/configs/amiga_defconfig
arch/m68k/configs/apollo_defconfig
arch/m68k/configs/atari_defconfig
arch/m68k/configs/bvme6000_defconfig
arch/m68k/configs/hp300_defconfig
arch/m68k/configs/mac_defconfig
arch/m68k/configs/multi_defconfig
arch/m68k/configs/mvme147_defconfig
arch/m68k/configs/mvme16x_defconfig
arch/m68k/configs/q40_defconfig
arch/m68k/configs/sun3_defconfig
arch/m68k/configs/sun3x_defconfig
arch/mips/configs/malta_defconfig
arch/mips/configs/malta_kvm_defconfig
arch/mips/configs/maltaup_xpa_defconfig
arch/mips/configs/rm200_defconfig
arch/parisc/configs/generic-64bit_defconfig
arch/powerpc/configs/fsl-emb-nonhw.config
arch/powerpc/configs/ppc6xx_defconfig
fs/Kconfig
fs/Makefile
fs/sysv/Kconfig [deleted file]
fs/sysv/Makefile [deleted file]
fs/sysv/balloc.c [deleted file]
fs/sysv/dir.c [deleted file]
fs/sysv/file.c [deleted file]
fs/sysv/ialloc.c [deleted file]
fs/sysv/inode.c [deleted file]
fs/sysv/itree.c [deleted file]
fs/sysv/namei.c [deleted file]
fs/sysv/super.c [deleted file]
fs/sysv/sysv.h [deleted file]
include/linux/sysv_fs.h [deleted file]