]> git.baikalelectronics.ru Git - kernel.git/commit
fs/kernfs/symlink.c: replace S_IRWXUGO with 0777 on kernfs_create_link()
authorLuis Chamberlain <mcgrof@kernel.org>
Mon, 27 Sep 2021 16:38:00 +0000 (09:38 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Oct 2021 14:21:16 +0000 (16:21 +0200)
commit48802e781459a56e9bc922d49edd3c26d183608f
tree7252b28af4f2c956159ac8df8f86ce14ced3674c
parent41ebeded39096e0d08167d17f002824548f8fd44
fs/kernfs/symlink.c: replace S_IRWXUGO with 0777 on kernfs_create_link()

If one ends up extending this line checkpatch will complain about the
use of S_IRWXUGO suggesting it is not preferred and that 0777
should be used instead. Take the tip from checkpatch and do that
change before we do our subsequent changes.

This makes no functional changes.

Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Link: https://lore.kernel.org/r/20210927163805.808907-8-mcgrof@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/kernfs/symlink.c