switch ->put_link() from dentry to inode
only one instance looks at that argument at all; that sole exception wants inode rather than dentry. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -402,7 +402,7 @@ static const char *proc_follow_link(struct dentry *dentry, void **cookie)
|
||||
return pde->data;
|
||||
}
|
||||
|
||||
static void proc_put_link(struct dentry *dentry, void *p)
|
||||
static void proc_put_link(struct inode *unused, void *p)
|
||||
{
|
||||
unuse_pde(p);
|
||||
}
|
||||
|
Reference in New Issue
Block a user