summaryrefslogtreecommitdiff
path: root/fs/coda/dir.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-10-04 18:17:02 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2013-11-09 00:16:21 -0500
commit11d100d9a291508be5a5bae1ddf92ea2ba9b8f0c (patch)
treebcc4ed1f156bb3e070c791eff70ce6fd9da69346 /fs/coda/dir.c
parentb61625d24596ea44555943867d5a5c1efd81074c (diff)
downloadlwn-11d100d9a291508be5a5bae1ddf92ea2ba9b8f0c.tar.gz
lwn-11d100d9a291508be5a5bae1ddf92ea2ba9b8f0c.zip
coda_revalidate_inode(): switch to passing inode...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/coda/dir.c')
-rw-r--r--fs/coda/dir.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/coda/dir.c b/fs/coda/dir.c
index 8c8d469c9283..5efbb5ee0adc 100644
--- a/fs/coda/dir.c
+++ b/fs/coda/dir.c
@@ -563,13 +563,12 @@ static int coda_dentry_delete(const struct dentry * dentry)
* cache manager Venus issues a downcall to the kernel when this
* happens
*/
-int coda_revalidate_inode(struct dentry *dentry)
+int coda_revalidate_inode(struct inode *inode)
{
struct coda_vattr attr;
int error;
int old_mode;
ino_t old_ino;
- struct inode *inode = dentry->d_inode;
struct coda_inode_info *cii = ITOC(inode);
if (!cii->c_flags)