diff options
author | Sven Eckelmann <sven@narfation.org> | 2016-09-01 11:25:12 +0300 |
---|---|---|
committer | Simon Wunderlich <sw@simonwunderlich.de> | 2016-10-19 09:37:53 +0300 |
commit | 507b37cf71c86b7ceaebf333b8ae488a600f5afd (patch) | |
tree | 90f546e27c8d845db863ec66260a5ec0eede97bd /net/batman-adv/main.h | |
parent | 70ea5cee95479695a5a84c0ef665604fdf1f8362 (diff) | |
download | linux-507b37cf71c86b7ceaebf333b8ae488a600f5afd.tar.xz |
batman-adv: Use octal permissions instead of macros
Linus prefers to have octal permission numbers instead of combinations of
macro names ("random line noise"). Also old existing "bad symbolic
permission bit macro use" should be converted to octal numbers.
(http://lkml.kernel.org/r/CA+55aFw5v23T-zvDZp-MmD_EYxF8WbafwwB59934FV7g21uMGQ@mail.gmail.com)
Also remove the S_IFREG bit from the octal representation because it is
filtered out by debugfs_create.
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to 'net/batman-adv/main.h')
0 files changed, 0 insertions, 0 deletions