]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - arch/um/drivers/mconsole_kern.c
Merge branch 'fix/pcm-jiffies-check' into fix/asoc
[mv-sheeva.git] / arch / um / drivers / mconsole_kern.c
index 8f44ebb0dec82286e85838369d8fdfd9de929ae6..e14629c87de4fb48c15943f52ffcedf7fca48821 100644 (file)
@@ -161,7 +161,8 @@ void mconsole_proc(struct mc_request *req)
                goto out_kill;
        }
 
-       file = dentry_open(nd.path.dentry, nd.path.mnt, O_RDONLY);
+       file = dentry_open(nd.path.dentry, nd.path.mnt, O_RDONLY,
+                          current_cred());
        if (IS_ERR(file)) {
                mconsole_reply(req, "Failed to open file", 1, 0);
                goto out_kill;