aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/powerpc/platforms/cell/spufs/inode.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/cell/spufs/inode.c b/arch/powerpc/platforms/cell/spufs/inode.c
index fed511a2b17f..1987697b23a0 100644
--- a/arch/powerpc/platforms/cell/spufs/inode.c
+++ b/arch/powerpc/platforms/cell/spufs/inode.c
@@ -304,6 +304,10 @@ long spufs_create_thread(struct nameidata *nd,
304 nd->dentry != nd->dentry->d_sb->s_root) 304 nd->dentry != nd->dentry->d_sb->s_root)
305 goto out; 305 goto out;
306 306
307 /* all flags are reserved */
308 if (flags)
309 goto out;
310
307 dentry = lookup_create(nd, 1); 311 dentry = lookup_create(nd, 1);
308 ret = PTR_ERR(dentry); 312 ret = PTR_ERR(dentry);
309 if (IS_ERR(dentry)) 313 if (IS_ERR(dentry))