Files
kernel-sophgo-sg2044-revyos…/fs/xfs
Darrick J. Wong c21c27ecf3 xfs: always warn about deprecated mount options
[ Upstream commit 630785bfbe12c3ee3ebccd8b530a98d632b7e39d ]

The deprecation of the 'attr2' mount option in 6.18 wasn't entirely
successful because nobody noticed that the kernel never printed a
warning about attr2 being set in fstab if the only xfs filesystem is the
root fs; the initramfs mounts the root fs with no mount options; and the
init scripts only conveyed the fstab options by remounting the root fs.

Fix this by making it complain all the time.

Cc: stable@vger.kernel.org # v5.13
Fixes: 92cf7d3638 ("xfs: Skip repetitive warnings about mount options")
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
[ Update existing xfs_fs_warn_deprecated() callers ]
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-10-29 14:10:32 +01:00
..
2025-05-07 07:31:07 -06:00
2025-08-11 14:03:44 +02:00
2024-11-03 01:28:06 -05:00
2025-08-11 14:03:44 +02:00
2025-08-11 14:03:31 +02:00
2025-08-11 14:03:44 +02:00
2025-08-11 14:03:31 +02:00
2025-08-11 14:03:31 +02:00
2025-03-03 08:16:56 -07:00
2025-08-11 14:04:20 +02:00