linux/fs/crypto
Eric Biggers 0b1dfa4cc6 fscrypt: fix build with pre-4.6 gcc versions
gcc versions prior to 4.6 require an extra level of braces when using a
designated initializer for a member in an anonymous struct or union.
This caused a compile error with the 'struct qstr' initialization in
__fscrypt_encrypt_symlink().

Fix it by using QSTR_INIT().

Reported-by: Andrew Morton <akpm@linux-foundation.org>
Fixes: 76e81d6d50 ("fscrypt: new helper functions for ->symlink()")
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2018-02-01 10:51:18 -05:00
..
bio.c
crypto.c fscrypt: trim down fscrypt.h includes 2018-01-11 22:06:19 -05:00
fname.c fscrypt: fix up fscrypt_fname_encrypted_size() for internal use 2018-01-11 23:30:08 -05:00
fscrypt_private.h fscrypt: fix up fscrypt_fname_encrypted_size() for internal use 2018-01-11 23:30:08 -05:00
hooks.c fscrypt: fix build with pre-4.6 gcc versions 2018-02-01 10:51:18 -05:00
Kconfig
keyinfo.c fscrypt: remove 'ci' parameter from fscrypt_put_encryption_info() 2018-01-11 23:30:13 -05:00
Makefile
policy.c fscrypt: lots of cleanups, mostly courtesy by Eric Biggers 2017-11-14 11:35:15 -08:00