]> 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)
commit3df6065427947919f37f8caf0a9b332cbc04a827
treea8518acfbf2b72ca601937ce43d3ed1d67707321
parent8442243d05e41e6b0ab329bd319cf82e07234b14
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