fscrypt: move fscrypt_valid_enc_modes() to fscrypt_private.h
authorEric Biggers <ebiggers@google.com>
Fri, 5 Jan 2018 18:44:58 +0000 (10:44 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Sun, 8 Apr 2018 09:40:07 +0000 (02:40 -0700)
commitad35db34396bbaabb5a06fbc965a33f6b15ac9c5
tree642b6dbcb2f855612dfbc311a54dc6be58b7c37f
parent72b3e1c61d8bf26e048fb24d9f0bbe6c599523cd
fscrypt: move fscrypt_valid_enc_modes() to fscrypt_private.h

The encryption modes are validated by fs/crypto/, not by individual
filesystems.  Therefore, move fscrypt_valid_enc_modes() from fscrypt.h
to fscrypt_private.h.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/crypto/fscrypt_private.h
include/linux/fscrypt.h