Re: [PATCH] ext4: kunit: use dynamic inode allocation

From: Theodore Ts'o
Date: Wed Mar 13 2024 - 23:55:30 EST



On Tue, 27 Feb 2024 17:15:39 +0100, Arnd Bergmann wrote:
> Storing an inode structure on the stack pushes some functions over the warning
> limit for stack frame size:
>
> In file included from fs/ext4/mballoc.c:7039:
> fs/ext4/mballoc-test.c:506:13: error: stack frame size (1032) exceeds limit (1024) in 'test_mark_diskspace_used' [-Werror,-Wframe-larger-than]
> 506 | static void test_mark_diskspace_used(struct kunit *test)
> | ^
>
> [...]

Applied, thanks!

[1/1] ext4: kunit: use dynamic inode allocation
commit: d60c53694c6ff560963590971720d632bb3d481e

Best regards,
--
Theodore Ts'o <tytso@xxxxxxx>