Commit c3087712 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] proc_attr_lookup() fix

From: Daniele Belluci <bellucda@tiscali.it>

proc_attr_lookup() was missed out in Trond's conversion.  (It is behind
CONFIG_SECURITY).
parent 0b453423
......@@ -1245,7 +1245,9 @@ static struct file_operations proc_attr_operations = {
.readdir = proc_attr_readdir,
};
static struct dentry *proc_attr_lookup(struct inode *dir, struct dentry *dentry){
static struct dentry *proc_attr_lookup(struct inode *dir,
struct dentry *dentry, struct nameidata *nd)
{
return proc_pident_lookup(dir, dentry, attr_stuff);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment