[POWERPC] spufs: fail spu_create with invalid flags
authorarnd@arndb.de <arnd@arndb.de>
Mon, 19 Jun 2006 18:33:34 +0000 (20:33 +0200)
committerPaul Mackerras <paulus@samba.org>
Wed, 21 Jun 2006 05:01:32 +0000 (15:01 +1000)
commitc983294872ebccd4aacf1b8dd694ac2170feadc3
tree529c3bc88a9ff10536ffdbf0936c3af2f193bac6
parentba723fe2b2facc8d45b53701fec39aa429596759
[POWERPC] spufs: fail spu_create with invalid flags

At this time, all flags are invalid. Since we are
planning to actually add valid flags in the future,
we better check if any were passed by the user.

Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/cell/spufs/inode.c