diff options
Diffstat (limited to 'fs/afs/inode.c')
-rw-r--r-- | fs/afs/inode.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/fs/afs/inode.c b/fs/afs/inode.c index 86cc7264c21c..1e4897a048d2 100644 --- a/fs/afs/inode.c +++ b/fs/afs/inode.c | |||
@@ -375,12 +375,10 @@ error_unlock: | |||
375 | /* | 375 | /* |
376 | * read the attributes of an inode | 376 | * read the attributes of an inode |
377 | */ | 377 | */ |
378 | int afs_getattr(struct vfsmount *mnt, struct dentry *dentry, | 378 | int afs_getattr(const struct path *path, struct kstat *stat, |
379 | struct kstat *stat) | 379 | u32 request_mask, unsigned int query_flags) |
380 | { | 380 | { |
381 | struct inode *inode; | 381 | struct inode *inode = d_inode(path->dentry); |
382 | |||
383 | inode = d_inode(dentry); | ||
384 | 382 | ||
385 | _enter("{ ino=%lu v=%u }", inode->i_ino, inode->i_generation); | 383 | _enter("{ ino=%lu v=%u }", inode->i_ino, inode->i_generation); |
386 | 384 | ||