]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf69f463d7ac8de120d21f4ead6fd4b314c411bf3
treea8518acfbf2b72ca601937ce43d3ed1d67707321
parentc0aa479e2e10cf9097563f828c57d631df154a90
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