commit | ff5d3a97075c65731a46453d36e75b9cf925e165 | [log] [tgz] |
---|---|---|
author | Eric Biggers <ebiggers@google.com> | Fri Mar 15 14:16:32 2019 -0700 |
committer | Theodore Ts'o <tytso@mit.edu> | Tue Apr 16 18:44:44 2019 -0400 |
tree | 8f45dad94b8d4aa47315eba32133a15f9e91c1cb | |
parent | cd0265fcd2eae9004c68ef2123a9dac0dc5a666a [diff] |
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 <ebiggers@google.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>