ext4: add nonstring annotations to ext4.h
authorTheodore Ts'o <tytso@mit.edu>
Mon, 27 Aug 2018 05:15:11 +0000 (01:15 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 27 Aug 2018 05:15:11 +0000 (01:15 -0400)
commit072ebb3bffe67d71d1f1e52add799f4491eab691
tree26c9b4401a2f54521b1f8e7e186571dc4a4bdaf4
parent863c37fcb14f8b66ea831b45fb35a53ac4a8d69e
ext4: add nonstring annotations to ext4.h

This suppresses some false positives in gcc 8's -Wstringop-truncation

Suggested by Miguel Ojeda (hopefully the __nonstring definition will
eventually get accepted in the compiler-gcc.h header file).

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com>
fs/ext4/ext4.h