]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/pipe.c
Merge branches 'intel_pstate' and 'pm-domains'
[karo-tx-linux.git] / fs / pipe.c
index 73b84baf58f8751393a3adda7cd288fbd044d252..97e5be897753ef61c67b3534205f9839b715942e 100644 (file)
--- a/fs/pipe.c
+++ b/fs/pipe.c
@@ -739,13 +739,12 @@ int create_pipe_files(struct file **res, int flags)
        struct inode *inode = get_pipe_inode();
        struct file *f;
        struct path path;
-       static struct qstr name = { .name = "" };
 
        if (!inode)
                return -ENFILE;
 
        err = -ENOMEM;
-       path.dentry = d_alloc_pseudo(pipe_mnt->mnt_sb, &name);
+       path.dentry = d_alloc_pseudo(pipe_mnt->mnt_sb, &empty_name);
        if (!path.dentry)
                goto err_inode;
        path.mnt = mntget(pipe_mnt);