diff options
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 (patch) | |
tree | 23418d022fad27038f37bececb15eef232567ab2 /fs/configfs | |
parent | bda0be7ad994812960e9f8f2d2757f72cb4a96cb (diff) |
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>
Diffstat (limited to 'fs/configfs')
-rw-r--r-- | fs/configfs/symlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/configfs/symlink.c b/fs/configfs/symlink.c index 0ace75649009..bc464c26e00e 100644 --- a/fs/configfs/symlink.c +++ b/fs/configfs/symlink.c | |||
@@ -296,7 +296,7 @@ static const char *configfs_follow_link(struct dentry *dentry, void **cookie) | |||
296 | return ERR_PTR(error); | 296 | return ERR_PTR(error); |
297 | } | 297 | } |
298 | 298 | ||
299 | static void configfs_put_link(struct dentry *dentry, void *cookie) | 299 | static void configfs_put_link(struct inode *unused, void *cookie) |
300 | { | 300 | { |
301 | free_page((unsigned long)cookie); | 301 | free_page((unsigned long)cookie); |
302 | } | 302 | } |