projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
switch ->put_link() from dentry to inode
[firefly-linux-kernel-4.4.55.git]
/
fs
/
hostfs
/
hostfs_kern.c
diff --git
a/fs/hostfs/hostfs_kern.c
b/fs/hostfs/hostfs_kern.c
index 7b6ed7a908f66551d95ede7fc069b711d26b8223..4a437ab5f2968fb9e549be92c6564dfdd191a6f3 100644
(file)
--- 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);
}