diff options
Diffstat (limited to 'fs/umsdos/rdir.c')
-rw-r--r-- | fs/umsdos/rdir.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/fs/umsdos/rdir.c b/fs/umsdos/rdir.c index a477ade2c..ff208e6ac 100644 --- a/fs/umsdos/rdir.c +++ b/fs/umsdos/rdir.c @@ -33,7 +33,8 @@ static int rdir_filldir ( void *buf, const char *name, int name_len, off_t offset, - ino_t ino) + ino_t ino, + unsigned int d_type) { int ret = 0; struct RDIR_FILLDIR *d = (struct RDIR_FILLDIR *) buf; @@ -48,11 +49,11 @@ static int rdir_filldir ( void *buf, /* Make sure the .. entry points back to the pseudo_root */ ino = pseudo_root->i_ino; } - ret = d->filldir (d->dirbuf, name, name_len, offset, ino); + ret = d->filldir (d->dirbuf, name, name_len, offset, ino, DT_UNKNOWN); } } else { /* Any DOS directory */ - ret = d->filldir (d->dirbuf, name, name_len, offset, ino); + ret = d->filldir (d->dirbuf, name, name_len, offset, ino, DT_UNKNOWN); } return ret; } |