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:
Al Viro
2015-05-07 11:14:26 -04:00
parent bda0be7ad9
commit 5f2c4179e1
15 changed files with 27 additions and 26 deletions
+1 -1
View File
@@ -2486,7 +2486,7 @@ static const char *shmem_follow_link(struct dentry *dentry, void **cookie)
return kmap(page);
}
static void shmem_put_link(struct dentry *dentry, void *cookie)
static void shmem_put_link(struct inode *unused, void *cookie)
{
struct page *page = cookie;
kunmap(page);