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>
Šī revīzija ir iekļauta:
Al Viro
2015-05-07 11:14:26 -04:00
vecāks bda0be7ad9
revīzija 5f2c4179e1
15 mainīti faili ar 27 papildinājumiem un 26 dzēšanām

Parādīt failu

@@ -126,7 +126,7 @@ static const char *kernfs_iop_follow_link(struct dentry *dentry, void **cookie)
return *cookie = (char *)page;
}
static void kernfs_iop_put_link(struct dentry *dentry, void *cookie)
static void kernfs_iop_put_link(struct inode *unused, void *cookie)
{
free_page((unsigned long)cookie);
}