VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Al Viro <viro@zeniv.linux.org.uk> 2015-05-07 11:14:26 -0400 committer: Al Viro <viro@zeniv.linux.org.uk> 2015-05-11 08:13:12 -0400 commit: 5f2c4179e129bdc47870a81a65d0aff85aa18293 parent: bda0be7ad994812960e9f8f2d2757f72cb4a96cb
Commit Summary:
switch ->put_link() from dentry to inode
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/hostfs/hostfs_kern.c b/fs/hostfs/hostfs_kern.c
index 7b6ed7a908f6..4a437ab5f296 100644
--- a/fs/hostfs/hostfs_kern.c
+++ b/fs/hostfs/hostfs_kern.c
@@ -915,7 +915,7 @@ static const char *hostfs_follow_link(struct dentry *dentry, void **cookie)
 	return *cookie = link;
 }
 
-static void hostfs_put_link(struct dentry *dentry, void *cookie)
+static void hostfs_put_link(struct inode *unused, void *cookie)
 {
 	__putname(cookie);
 }