]> git.baikalelectronics.ru Git - kernel.git/commit
spufs: fix bogosity in S_ISGID handling
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 23 Feb 2021 22:44:08 +0000 (17:44 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 13 Mar 2021 04:13:52 +0000 (23:13 -0500)
commit301df5418595926c16a6855451dbb16581a1512f
treed2d2d597d2772a482b1b2f4797cee84992553751
parentb24b82817ad29f88c517dc45f693db4196d548d1
spufs: fix bogosity in S_ISGID handling

clearing everything *except* S_ISGID (including the S_IFDIR, among
other things) is wrong.  Just use init_inode_owner() and be done
with that...

Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/powerpc/platforms/cell/spufs/inode.c