]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/linux/user_namespace.h
ide: remove ide_find_best_pio_mode()
[karo-tx-linux.git] / include / linux / user_namespace.h
index bb320573bb9ee6ab216f28a138c9f1ce83ed5caf..1101b0ce878f67973d5037f7b651cabf1fb8d28e 100644 (file)
@@ -49,7 +49,7 @@ static inline struct user_namespace *copy_user_ns(int flags,
        if (flags & CLONE_NEWUSER)
                return ERR_PTR(-EINVAL);
 
-       return NULL;
+       return old_ns;
 }
 
 static inline void put_user_ns(struct user_namespace *ns)