]> git.ipfire.org Git - thirdparty/linux.git/commit
xfs: sb_spino_align is not verified
authorDave Chinner <dchinner@redhat.com>
Thu, 24 Oct 2024 02:51:05 +0000 (13:51 +1100)
committerCarlos Maiolino <cem@kernel.org>
Tue, 5 Nov 2024 12:51:59 +0000 (13:51 +0100)
commit59e43f5479cce106d71c0b91a297c7ad1913176c
tree5372327feaa3c0910d360942098635737176063a
parent792ef2745d12cc129887eaef5bc62fe15f6f088a
xfs: sb_spino_align is not verified

It's just read in from the superblock and used without doing any
validity checks at all on the value.

Fixes: fb4f2b4e5a82 ("xfs: add sparse inode chunk alignment superblock field")
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
fs/xfs/libxfs/xfs_sb.c