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 <[email protected]>
This commit is contained in:
Al Viro 2015-05-07 11:14:26 -04:00
commit 5f2c4179e1
15 changed files with 27 additions and 26 deletions

View file

@ -1024,7 +1024,7 @@ int noop_fsync(struct file *file, loff_t start, loff_t end, int datasync)
}
EXPORT_SYMBOL(noop_fsync);
void kfree_put_link(struct dentry *dentry, void *cookie)
void kfree_put_link(struct inode *unused, void *cookie)
{
kfree(cookie);
}