diff options
Diffstat (limited to 'fs/afs/dir.c')
-rw-r--r-- | fs/afs/dir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/afs/dir.c b/fs/afs/dir.c index db477906ba4f..7a465ed04444 100644 --- a/fs/afs/dir.c +++ b/fs/afs/dir.c | |||
@@ -393,12 +393,12 @@ static int afs_readdir(struct file *file, void *cookie, filldir_t filldir) | |||
393 | int ret; | 393 | int ret; |
394 | 394 | ||
395 | _enter("{%Ld,{%lu}}", | 395 | _enter("{%Ld,{%lu}}", |
396 | file->f_pos, file->f_path.dentry->d_inode->i_ino); | 396 | file->f_pos, file_inode(file)->i_ino); |
397 | 397 | ||
398 | ASSERT(file->private_data != NULL); | 398 | ASSERT(file->private_data != NULL); |
399 | 399 | ||
400 | fpos = file->f_pos; | 400 | fpos = file->f_pos; |
401 | ret = afs_dir_iterate(file->f_path.dentry->d_inode, &fpos, | 401 | ret = afs_dir_iterate(file_inode(file), &fpos, |
402 | cookie, filldir, file->private_data); | 402 | cookie, filldir, file->private_data); |
403 | file->f_pos = fpos; | 403 | file->f_pos = fpos; |
404 | 404 | ||