]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: sb_spino_align is not verified
authorDave Chinner <dchinner@redhat.com>
Mon, 25 Nov 2024 21:14:11 +0000 (13:14 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 24 Dec 2024 02:01:23 +0000 (18:01 -0800)
commit9c0c39ae97031f4c35ee8f4ebec819bb640d2379
treef1e811e3d14cde27c970f7f35b0b5cfaf83ad411
parentbc494cfd76a42b3b42b2f20d53e701254d6ef1b1
xfs: sb_spino_align is not verified

Source kernel commit: 59e43f5479cce106d71c0b91a297c7ad1913176c

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>
Reviewed-by: Christoph Hellwig <hch@lst.de>
libxfs/xfs_sb.c