1
0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2026-01-12 01:20:14 +00:00
Yongpeng Yang 124af0868e
xfs: check the return value of sb_min_blocksize() in xfs_fs_fill_super
sb_min_blocksize() may return 0. Check its return value to avoid the
filesystem super block when sb->s_blocksize is 0.

Cc: stable@vger.kernel.org # v6.15
Fixes: a64e5a596067bd ("bdev: add back PAGE_SIZE block size validation for sb_set_blocksize()")
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Yongpeng Yang <yangyongpeng@xiaomi.com>
Link: https://patch.msgid.link/20251104125009.2111925-5-yangyongpeng.storage@gmail.com
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
2025-11-05 14:00:16 +01:00
..
2025-10-09 11:56:59 -07:00
2025-07-28 13:43:25 -07:00
2025-07-28 13:43:25 -07:00
2025-10-16 10:22:38 -07:00
2025-07-28 13:43:25 -07:00
2025-10-03 16:32:36 -07:00
2025-10-02 18:44:54 -07:00
2025-09-29 15:33:50 -07:00
2025-09-29 11:55:15 -07:00
2025-09-29 15:24:58 -07:00
2025-09-29 09:03:07 -07:00
\n
2025-07-28 16:16:09 -07:00
2025-09-13 16:55:07 -07:00
2025-10-03 13:54:23 -07:00
2025-09-29 09:03:07 -07:00
2025-09-29 10:27:17 -07:00
2025-10-03 16:32:36 -07:00
2025-10-14 09:28:12 -07:00
\n
2025-10-03 13:23:10 -07:00
2025-09-13 16:55:13 -07:00
2025-10-02 18:44:54 -07:00
2025-07-28 13:43:25 -07:00
2025-10-02 18:44:54 -07:00
2025-09-29 18:08:34 -07:00
2025-07-28 13:43:25 -07:00
2025-09-16 23:59:38 -04:00
2025-09-21 19:24:50 -04:00
2025-07-28 13:43:25 -07:00
2025-07-28 17:11:40 -07:00
2025-09-26 10:21:23 +02:00
2025-09-29 11:20:29 -07:00
2025-10-07 12:48:33 +02:00
2025-09-29 11:34:40 -07:00
2025-09-29 09:42:30 -07:00
2025-10-03 16:32:36 -07:00
2025-09-01 13:08:01 +02:00
2025-07-28 14:10:15 -07:00
2025-09-29 13:43:52 -07:00
2025-10-03 10:19:44 -07:00
2025-10-03 16:32:36 -07:00
2025-10-03 16:32:36 -07:00
2025-10-03 16:32:36 -07:00
2025-08-29 15:08:07 +02:00
2025-10-03 10:19:44 -07:00
2025-07-28 11:22:56 -07:00