diff options
Diffstat (limited to 'fs/udf/dir.c')
-rw-r--r-- | fs/udf/dir.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/udf/dir.c b/fs/udf/dir.c index 09121f0ef..9f093c536 100644 --- a/fs/udf/dir.c +++ b/fs/udf/dir.c @@ -94,7 +94,7 @@ int udf_readdir(struct file *filp, void *dirent, filldir_t filldir) if ( filp->f_pos == 0 ) { - if (filldir(dirent, ".", 1, filp->f_pos, dir->i_ino)) + if (filldir(dirent, ".", 1, filp->f_pos, dir->i_ino, DT_DIR)) return 0; } @@ -206,7 +206,7 @@ do_udf_readdir(struct inode * dir, struct file *filp, filldir_t filldir, void *d if (!lfi) /* parent directory */ { - if (filldir(dirent, "..", 2, filp->f_pos, filp->f_dentry->d_parent->d_inode->i_ino)) + if (filldir(dirent, "..", 2, filp->f_pos, filp->f_dentry->d_parent->d_inode->i_ino, DT_DIR)) { if (fibh.sbh != fibh.ebh) udf_release_data(fibh.ebh); @@ -219,7 +219,7 @@ do_udf_readdir(struct inode * dir, struct file *filp, filldir_t filldir, void *d { if ((flen = udf_get_filename(nameptr, fname, lfi))) { - if (filldir(dirent, fname, flen, filp->f_pos, iblock)) + if (filldir(dirent, fname, flen, filp->f_pos, iblock, DT_UNKNOWN)) { if (fibh.sbh != fibh.ebh) udf_release_data(fibh.ebh); |