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/overlayfs | |
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/overlayfs')
-rw-r--r-- | fs/overlayfs/inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/overlayfs/inode.c b/fs/overlayfs/inode.c index 9986833c9fcc..308379b2d0b2 100644 --- a/fs/overlayfs/inode.c +++ b/fs/overlayfs/inode.c | |||
@@ -174,7 +174,7 @@ static const char *ovl_follow_link(struct dentry *dentry, void **cookie) | |||
174 | return ret; | 174 | return ret; |
175 | } | 175 | } |
176 | 176 | ||
177 | static void ovl_put_link(struct dentry *dentry, void *c) | 177 | static void ovl_put_link(struct inode *unused, void *c) |
178 | { | 178 | { |
179 | struct inode *realinode; | 179 | struct inode *realinode; |
180 | struct ovl_link_data *data = c; | 180 | struct ovl_link_data *data = c; |
@@ -183,7 +183,7 @@ static void ovl_put_link(struct dentry *dentry, void *c) | |||
183 | return; | 183 | return; |
184 | 184 | ||
185 | realinode = data->realdentry->d_inode; | 185 | realinode = data->realdentry->d_inode; |
186 | realinode->i_op->put_link(data->realdentry, data->cookie); | 186 | realinode->i_op->put_link(realinode, data->cookie); |
187 | kfree(data); | 187 | kfree(data); |
188 | } | 188 | } |
189 | 189 | ||