diff options
| author | Eric Biggers <[email protected]> | 2018-01-19 21:45:24 +0000 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2018-02-01 15:51:18 +0000 |
| commit | 0b1dfa4cc6c60052b2c30ead316fa84c46d3c43c (patch) | |
| tree | c0683adb0d9cc50553ff712c1f2d10e9f61407e5 /tools/perf/scripts/python/call-graph-from-sql.py | |
| parent | fscrypt: remove 'ci' parameter from fscrypt_put_encryption_info() (diff) | |
| download | kernel-0b1dfa4cc6c60052b2c30ead316fa84c46d3c43c.tar.gz kernel-0b1dfa4cc6c60052b2c30ead316fa84c46d3c43c.zip | |
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 <[email protected]>
Fixes: 76e81d6d5048 ("fscrypt: new helper functions for ->symlink()")
Signed-off-by: Eric Biggers <[email protected]>
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions
