nilfs2: use octal for unreadable permission macro
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Fri, 17 Nov 2017 23:29:46 +0000 (15:29 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 18 Nov 2017 00:10:03 +0000 (16:10 -0800)
commit3147db8938c7968b7be07f9b87510e334fe42ce1
treea8518acfbf2b72ca601937ce43d3ed1d67707321
parent4d685f930a53632ff6b86efe43b95637006371fe
nilfs2: use octal for unreadable permission macro

Replace S_IRWXUGO with 0777 because symbolic permissions are considered
harmful:

 https://lwn.net/Articles/696229/

Link: http://lkml.kernel.org/r/1509367935-3086-5-git-send-email-konishi.ryusuke@lab.ntt.co.jp
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/nilfs2/namei.c