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