]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/um/drivers/mconsole_kern.c
Merge branches 'irq/genirq' and 'linus' into irq/core
[linux-2.6-omap-h63xx.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;