]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit54d6c6f572604336989ca3adbb3b0dd1eccc49ab
treedddd0856d99a5b7d4c1745cd36b27f50cd8c031e
parenta3cf0d85c19be9b5cdf4bbaf65d772712c719bf2
fscrypt: properly declare on-stack completion

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

Fixes: 405a20bf504dc ("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