mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
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:
parent
bda0be7ad9
commit
5f2c4179e1
15 changed files with 27 additions and 26 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue