diff options
author | Arnd Bergmann <arnd@arndb.de> | 2021-01-14 22:30:11 +0100 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2021-02-12 21:53:22 +0100 |
commit | 410b6de702ef84fea6e7abcb6620ef8bfc112fae (patch) | |
tree | 9b0124c057d548881451f497ae64571f1714366e /fs/mbcache.c | |
parent | 11b8ab3836454a2600e396f34731e491b661f9d5 (diff) | |
download | linux-410b6de702ef84fea6e7abcb6620ef8bfc112fae.tar.bz2 |
ubifs: replay: Fix high stack usage, again
An earlier commit moved out some functions to not be inlined by gcc, but
after some other rework to remove one of those, clang started inlining
the other one and ran into the same problem as gcc did before:
fs/ubifs/replay.c:1174:5: error: stack frame size of 1152 bytes in function 'ubifs_replay_journal' [-Werror,-Wframe-larger-than=]
Mark the function as noinline_for_stack to ensure it doesn't happen
again.
Fixes: f80df3851246 ("ubifs: use crypto_shash_tfm_digest()")
Fixes: eb66eff6636d ("ubifs: replay: Fix high stack usage")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'fs/mbcache.c')
0 files changed, 0 insertions, 0 deletions