diff options
Diffstat (limited to 'fs/udf/dir.c')
-rw-r--r-- | fs/udf/dir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/udf/dir.c b/fs/udf/dir.c index 8c28efa3b8ff..2391c9150c49 100644 --- a/fs/udf/dir.c +++ b/fs/udf/dir.c | |||
@@ -77,7 +77,7 @@ const struct file_operations udf_dir_operations = { | |||
77 | 77 | ||
78 | int udf_readdir(struct file *filp, void *dirent, filldir_t filldir) | 78 | int udf_readdir(struct file *filp, void *dirent, filldir_t filldir) |
79 | { | 79 | { |
80 | struct inode *dir = filp->f_dentry->d_inode; | 80 | struct inode *dir = filp->f_path.dentry->d_inode; |
81 | int result; | 81 | int result; |
82 | 82 | ||
83 | lock_kernel(); | 83 | lock_kernel(); |
@@ -225,7 +225,7 @@ do_udf_readdir(struct inode * dir, struct file *filp, filldir_t filldir, void *d | |||
225 | 225 | ||
226 | if ( cfi.fileCharacteristics & FID_FILE_CHAR_PARENT ) | 226 | if ( cfi.fileCharacteristics & FID_FILE_CHAR_PARENT ) |
227 | { | 227 | { |
228 | iblock = parent_ino(filp->f_dentry); | 228 | iblock = parent_ino(filp->f_path.dentry); |
229 | flen = 2; | 229 | flen = 2; |
230 | memcpy(fname, "..", flen); | 230 | memcpy(fname, "..", flen); |
231 | dt_type = DT_DIR; | 231 | dt_type = DT_DIR; |