diff options
Diffstat (limited to 'fs/adfs')
-rw-r--r-- | fs/adfs/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/adfs/dir.c b/fs/adfs/dir.c index d3c7905b2ddc..2b8903893d3f 100644 --- a/fs/adfs/dir.c +++ b/fs/adfs/dir.c | |||
@@ -28,7 +28,7 @@ static DEFINE_RWLOCK(adfs_dir_lock); | |||
28 | static int | 28 | static int |
29 | adfs_readdir(struct file *filp, void *dirent, filldir_t filldir) | 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 | struct super_block *sb = inode->i_sb; | 32 | struct super_block *sb = inode->i_sb; |
33 | struct adfs_dir_ops *ops = ADFS_SB(sb)->s_dir; | 33 | struct adfs_dir_ops *ops = ADFS_SB(sb)->s_dir; |
34 | struct object_info obj; | 34 | struct object_info obj; |