diff options
Diffstat (limited to 'arch/powerpc/platforms/cell/spufs/syscalls.c')
| -rw-r--r-- | arch/powerpc/platforms/cell/spufs/syscalls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/cell/spufs/syscalls.c b/arch/powerpc/platforms/cell/spufs/syscalls.c index 5b7d8ffbf890..baee994fe810 100644 --- a/arch/powerpc/platforms/cell/spufs/syscalls.c +++ b/arch/powerpc/platforms/cell/spufs/syscalls.c | |||
| @@ -66,7 +66,7 @@ static long do_spu_create(const char __user *pathname, unsigned int flags, | |||
| 66 | struct dentry *dentry; | 66 | struct dentry *dentry; |
| 67 | int ret; | 67 | int ret; |
| 68 | 68 | ||
| 69 | dentry = user_path_create(AT_FDCWD, pathname, &path, 1); | 69 | dentry = user_path_create(AT_FDCWD, pathname, &path, LOOKUP_DIRECTORY); |
| 70 | ret = PTR_ERR(dentry); | 70 | ret = PTR_ERR(dentry); |
| 71 | if (!IS_ERR(dentry)) { | 71 | if (!IS_ERR(dentry)) { |
| 72 | ret = spufs_create(&path, dentry, flags, mode, neighbor); | 72 | ret = spufs_create(&path, dentry, flags, mode, neighbor); |
