Merge tag 'platform-drivers-x86-v5.13-2' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6-microblaze.git] / fs / proc / thread_self.c
index d56681d..a553273 100644 (file)
@@ -17,13 +17,6 @@ static const char *proc_thread_self_get_link(struct dentry *dentry,
        pid_t pid = task_pid_nr_ns(current, ns);
        char *name;
 
-       /*
-        * Not currently supported. Once we can inherit all of struct pid,
-        * we can allow this.
-        */
-       if (current->flags & PF_IO_WORKER)
-               return ERR_PTR(-EOPNOTSUPP);
-
        if (!pid)
                return ERR_PTR(-ENOENT);
        name = kmalloc(10 + 6 + 10 + 1, dentry ? GFP_KERNEL : GFP_ATOMIC);