fscrypt: move fscrypt_ctx declaration to fscrypt_supp.h
authorEric Biggers <ebiggers@google.com>
Fri, 5 Jan 2018 18:44:55 +0000 (10:44 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Sun, 8 Apr 2018 09:40:00 +0000 (02:40 -0700)
commite298b5de1ccae7bf2ee9f8c0b5ef6518435177f1
tree1dbec4d14bc2bfabeec983c3dd6647fe764b7c1a
parent8db0a6de3cf04fc8004fec80fe8ea00b812be8c7
fscrypt: move fscrypt_ctx declaration to fscrypt_supp.h

Filesystems only ever access 'struct fscrypt_ctx' through fscrypt
functions.  But when a filesystem is built without encryption support,
these functions are all stubbed out, so the declaration of fscrypt_ctx
is unneeded.  Therefore, move it from fscrypt.h to fscrypt_supp.h.

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