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)
commitc4ab036a2f41184ba969f86dda73be361c9ab39d
treed2d2d597d2772a482b1b2f4797cee84992553751
parentb577d0cd2104fdfcf0ded3707540a12be8ddd8b0
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