UMSDOS problems in 2.4.9?

UMSDOS problems in 2.4.9?

Post by OGAWA Hirofum » Tue, 21 Aug 2001 04:30:09



Hi,


> My UMSDOS file system stopped working when I switch from 2.4.8 to
> 2.4.9.  I can mount the partition as "msdos" or even "vfat" but if
> I use "umsdos" there are no files visible.  Has anyone else seen this?

Probably I think it related to change of filldir_t.
This problem fixed with the following patch?
--

diff -urN linux-2.4.9/fs/umsdos/dir.c umsdos_off_t-2.4.9/fs/umsdos/dir.c
--- linux-2.4.9/fs/umsdos/dir.c Sat Feb 10 04:29:44 2001

 static int umsdos_dir_once (   void *buf,
                                const char *name,
                                int len,
-                               off_t offset,
+                               loff_t offset,
                                ino_t ino,
                                unsigned type)
 {
diff -urN linux-2.4.9/fs/umsdos/ioctl.c umsdos_off_t-2.4.9/fs/umsdos/ioctl.c
--- linux-2.4.9/fs/umsdos/ioctl.c       Thu Apr 19 03:49:13 2001

                                     void *buf,
                                     const char *name,
                                     int name_len,
-                                    off_t offset,
+                                    loff_t offset,
                                     ino_t ino,
                                     unsigned type)
 {
diff -urN linux-2.4.9/fs/umsdos/rdir.c umsdos_off_t-2.4.9/fs/umsdos/rdir.c
--- linux-2.4.9/fs/umsdos/rdir.c        Sat Feb 10 04:29:44 2001

 static int rdir_filldir (      void *buf,
                                const char *name,
                                int name_len,
-                               off_t offset,
+                               loff_t offset,
                                ino_t ino,
                                unsigned int d_type)
 {

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

UMSDOS problems in 2.4.9?

Post by Peter Fale » Tue, 21 Aug 2001 12:20:06


Yes.  It works!  Thanks!  Will that change go into the official kernel??
--
Peter Fales                       Lucent Technologies, Room 5B-408
N9IYJ                             2000 N Naperville Rd PO Box 3033
                                  Naperville, IL 60566-7033


> Hi,


> > My UMSDOS file system stopped working when I switch from 2.4.8 to
> > 2.4.9.  I can mount the partition as "msdos" or even "vfat" but if
> > I use "umsdos" there are no files visible.  Has anyone else seen this?

> Probably I think it related to change of filldir_t.
> This problem fixed with the following patch?
> --

> diff -urN linux-2.4.9/fs/umsdos/dir.c umsdos_off_t-2.4.9/fs/umsdos/dir.c
> --- linux-2.4.9/fs/umsdos/dir.c    Sat Feb 10 04:29:44 2001
> +++ umsdos_off_t-2.4.9/fs/umsdos/dir.c     Sun Aug 19 16:13:25 2001

>  static int umsdos_dir_once (      void *buf,
>                            const char *name,
>                            int len,
> -                          off_t offset,
> +                          loff_t offset,
>                            ino_t ino,
>                            unsigned type)
>  {
> diff -urN linux-2.4.9/fs/umsdos/ioctl.c umsdos_off_t-2.4.9/fs/umsdos/ioctl.c
> --- linux-2.4.9/fs/umsdos/ioctl.c  Thu Apr 19 03:49:13 2001
> +++ umsdos_off_t-2.4.9/fs/umsdos/ioctl.c   Sun Aug 19 16:16:36 2001

>                                 void *buf,
>                                 const char *name,
>                                 int name_len,
> -                               off_t offset,
> +                               loff_t offset,
>                                 ino_t ino,
>                                 unsigned type)
>  {
> diff -urN linux-2.4.9/fs/umsdos/rdir.c umsdos_off_t-2.4.9/fs/umsdos/rdir.c
> --- linux-2.4.9/fs/umsdos/rdir.c   Sat Feb 10 04:29:44 2001
> +++ umsdos_off_t-2.4.9/fs/umsdos/rdir.c    Sun Aug 19 16:16:34 2001

>  static int rdir_filldir ( void *buf,
>                            const char *name,
>                            int name_len,
> -                          off_t offset,
> +                          loff_t offset,
>                            ino_t ino,
>                            unsigned int d_type)
>  {

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/