fscrypt: properly declare on-stack completion
authorRichard Weinberger <richard@nod.at>
Wed, 1 Feb 2017 20:32:09 +0000 (21:32 +0100)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 7 Feb 2017 04:45:28 +0000 (23:45 -0500)
commitb14c8e6afd873cae97060272efaac376efec77a4
treedddd0856d99a5b7d4c1745cd36b27f50cd8c031e
parent46f47e48008b63f5fd3a3bad8b79ba1a89fb625f
fscrypt: properly declare on-stack completion

When a completion is declared on-stack we have to use
COMPLETION_INITIALIZER_ONSTACK().

Fixes: 0b81d07790726 ("fs crypto: move per-file encryption from f2fs
tree to fs/crypto")
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/crypto/fscrypt_private.h