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)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 12 Jan 2018 03:06:18 +0000 (22:06 -0500)
commitbb8179e5a8509876415c0eac6f6ba8a130b3cb47
tree6889d1baa5a6ed7471f5e17ba549889dbeebcc3a
parentbdd234764769a267794f275ce96706a466d376d7
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