Well. This should fix all the in-kernel code.
authorAlexander Polakov <polachok@gmail.com>
Tue, 7 Jul 2009 13:59:24 +0000 (17:59 +0400)
committerSimon Schubert <corecode@dragonflybsd.org>
Thu, 23 Jul 2009 10:08:34 +0000 (12:08 +0200)
sys/vfs/isofs/cd9660/cd9660_vnops.c

index bc8bca6..0baa47f 100644 (file)
@@ -597,11 +597,13 @@ cd9660_readdir(struct vop_readdir_args *ap)
                                idp->current.de.d_namlen = 2;
                                error = iso_uiodir(idp,&idp->current.de,idp->curroff);
                        } else {
-                               isofntrans(ep->name,idp->current.de.d_namlen,
-                                          idp->current.de.d_name, &namelen,
-                                          imp->iso_ftype == ISO_FTYPE_9660,
-                                          isonum_711(ep->flags)&4,
-                                          imp->joliet_level);
+                                isofntrans(ep->name,idp->current.de.d_namlen,
+                                           idp->current.de.d_name, &namelen,
+                                           imp->iso_ftype == ISO_FTYPE_9660,
+                                           isonum_711(ep->flags)&4,
+                                           imp->joliet_level,
+                                           imp->im_flags,
+                                           imp->im_d2l);
                                idp->current.de.d_namlen = namelen;
                                if (imp->iso_ftype == ISO_FTYPE_DEFAULT)
                                        error = iso_shipdir(idp);