aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorEric Biggers <[email protected]>2019-03-15 21:16:32 +0000
committerTheodore Ts'o <[email protected]>2019-04-16 22:44:44 +0000
commitff5d3a97075c65731a46453d36e75b9cf925e165 (patch)
tree8f45dad94b8d4aa47315eba32133a15f9e91c1cb /lib/string_helpers.c
parentfscrypt: drop inode argument from fscrypt_get_ctx() (diff)
downloadkernel-ff5d3a97075c65731a46453d36e75b9cf925e165.tar.gz
kernel-ff5d3a97075c65731a46453d36e75b9cf925e165.zip
fscrypt: remove WARN_ON_ONCE() when decryption fails
If decrypting a block fails, fscrypt did a WARN_ON_ONCE(). But WARN is meant for kernel bugs, which this isn't; this could be hit by fuzzers using fault injection, for example. Also, there is already a proper warning message logged in fscrypt_do_page_crypto(), so the WARN doesn't add much. Just remove the unnessary WARN. Signed-off-by: Eric Biggers <[email protected]> Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions