-
由 Eric Biggers 提交于
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: NAndrew Morton <akpm@linux-foundation.org> Fixes: 76e81d6d ("fscrypt: new helper functions for ->symlink()") Signed-off-by: NEric Biggers <ebiggers@google.com> Signed-off-by: NTheodore Ts'o <tytso@mit.edu>
0b1dfa4c