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:
@@ -296,7 +296,7 @@ static const char *configfs_follow_link(struct dentry *dentry, void **cookie)
|
||||
return ERR_PTR(error);
|
||||
}
|
||||
|
||||
static void configfs_put_link(struct dentry *dentry, void *cookie)
|
||||
static void configfs_put_link(struct inode *unused, void *cookie)
|
||||
{
|
||||
free_page((unsigned long)cookie);
|
||||
}
|
||||
|
Reference in New Issue
Block a user