diff options
Diffstat (limited to 'fs/hfsplus/dir.c')
-rw-r--r-- | fs/hfsplus/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/hfsplus/dir.c b/fs/hfsplus/dir.c index 7e309751645f..e886ac8460d3 100644 --- a/fs/hfsplus/dir.c +++ b/fs/hfsplus/dir.c | |||
@@ -111,7 +111,7 @@ fail: | |||
111 | 111 | ||
112 | static int hfsplus_readdir(struct file *filp, void *dirent, filldir_t filldir) | 112 | static int hfsplus_readdir(struct file *filp, void *dirent, filldir_t filldir) |
113 | { | 113 | { |
114 | struct inode *inode = filp->f_dentry->d_inode; | 114 | struct inode *inode = filp->f_path.dentry->d_inode; |
115 | struct super_block *sb = inode->i_sb; | 115 | struct super_block *sb = inode->i_sb; |
116 | int len, err; | 116 | int len, err; |
117 | char strbuf[HFSPLUS_MAX_STRLEN + 1]; | 117 | char strbuf[HFSPLUS_MAX_STRLEN + 1]; |