Merge branch 'akpm' (patchbomb from Andrew)
[firefly-linux-kernel-4.4.55.git] / arch / powerpc / platforms / cell / spufs / inode.c
index 65d633f20d37f4c7fc4efb45952e8cd9c7742f15..1a3429e1ccb5bb87531d79355b593310a69103c9 100644 (file)
@@ -301,7 +301,7 @@ static int spufs_context_open(struct path *path)
        int ret;
        struct file *filp;
 
-       ret = get_unused_fd();
+       ret = get_unused_fd_flags(0);
        if (ret < 0)
                return ret;
 
@@ -518,7 +518,7 @@ static int spufs_gang_open(struct path *path)
        int ret;
        struct file *filp;
 
-       ret = get_unused_fd();
+       ret = get_unused_fd_flags(0);
        if (ret < 0)
                return ret;