diff options
author | 2019-05-20 09:29:42 -0700 | |
---|---|---|
committer | 2019-05-28 10:27:52 -0700 | |
commit | eeacfdc68a104967162dfcba60f53f6f5b62a334 (patch) | |
tree | 13a3375c24a8c9ab9fa14ec9e03560780e8e3e2a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | fscrypt: rename fscrypt_do_page_crypto() to fscrypt_crypt_block() (diff) | |
download | wireguard-linux-eeacfdc68a104967162dfcba60f53f6f5b62a334.tar.xz wireguard-linux-eeacfdc68a104967162dfcba60f53f6f5b62a334.zip |
fscrypt: clean up some BUG_ON()s in block encryption/decryption
Replace some BUG_ON()s with WARN_ON_ONCE() and returning an error code,
and move the check for len divisible by FS_CRYPTO_BLOCK_SIZE into
fscrypt_crypt_block() so that it's done for both encryption and
decryption, not just encryption.
Reviewed-by: Chandan Rajendra <chandan@linux.ibm.com>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions