Commit 514653e25962c37b11fe648e4ef1c1130f697bcb

Authored by Josef Sipek
Committed by Linus Torvalds
1 parent e678fb0d52

[PATCH] struct path: convert adfs

Signed-off-by: Josef Sipek <jsipek@fsl.cs.sunysb.edu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -28,7 +28,7 @@
28 28 static int
29 29 adfs_readdir(struct file *filp, void *dirent, filldir_t filldir)
30 30 {
31   - struct inode *inode = filp->f_dentry->d_inode;
  31 + struct inode *inode = filp->f_path.dentry->d_inode;
32 32 struct super_block *sb = inode->i_sb;
33 33 struct adfs_dir_ops *ops = ADFS_SB(sb)->s_dir;
34 34 struct object_info obj;