summaryrefslogtreecommitdiff
path: root/lib/crypto/mpi/mpi-add.c
diff options
context:
space:
mode:
authorPankaj Raghav <p.raghav@samsung.com>2025-06-26 13:32:23 +0200
committerChristian Brauner <brauner@kernel.org>2025-07-08 16:48:12 +0200
commit77eb64439ad52d8afb57bb4dae24a2743c68f50d (patch)
treef77ed3234300651a10cb7afd2c8b1b422ffa9a2a /lib/crypto/mpi/mpi-add.c
parent04a2c4b4511d186b0fce685da21085a5d4acd370 (diff)
fs/buffer: remove the min and max limit checks in __getblk_slow()
All filesystems will already check the max and min value of their block size during their initialization. __getblk_slow() is a very low-level function to have these checks. Remove them and only check for logical block size alignment. As this check with logical block size alignment might never trigger, add WARN_ON_ONCE() to the check. As WARN_ON_ONCE() will already print the stack, remove the call to dump_stack(). Suggested-by: Matthew Wilcox <willy@infradead.org> Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Pankaj Raghav <p.raghav@samsung.com> Link: https://lore.kernel.org/20250626113223.181399-1-p.raghav@samsung.com Reviewed-by: Baokun Li <libaokun1@huawei.com> Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'lib/crypto/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions