UMSDOS problems in 2.4.9?
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?
--
Peter Fales Lucent Technologies, Room 5B-408
N9IYJ 2000 N Naperville Rd PO Box 3033
Naperville, IL 60566-7033
internet: [email protected] work: (630) 979-8031
Hi,
Quoted 3 lines · Peter Fales
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? --
OGAWA Hirofumi <[email protected]>
fs/umsdos/dir.c +1 -1
@@ -67,7 +67,7 @@static int umsdos_dir_once (void *buf,const char *name,int len, -off_t offset, +loff_t offset,ino_t ino,unsigned type) {
fs/umsdos/ioctl.c +1 -1
@@ -28,7 +28,7 @@void *buf, const char *name, int name_len, - off_t offset, + loff_t offset, ino_t ino, unsigned type) {
fs/umsdos/rdir.c +1 -1
@@ -32,7 +32,7 @@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) {
Yes. It works! Thanks! Will that change go into the official kernel??
Signature · 4 lines
Peter Fales Lucent Technologies, Room 5B-408 N9IYJ 2000 N Naperville Rd PO Box 3033 Naperville, IL 60566-7033 internet: [email protected] work: (630) 979-8031
Quoted 49 lines · OGAWA Hirofumi
Hi,
Quoted 3 lines · Peter Fales
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? --
OGAWA Hirofumi <[email protected]>diff -urN
linux-2.4.9/fs/umsdos/dir.cumsdos_off_t-2.4.9/fs/umsdos/dir.cfs/umsdos/dir.c +1
-1@@ -67,7 +67,7 @@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.cumsdos_off_t-2.4.9/fs/umsdos/ioctl.cfs/umsdos/ioctl.c +1
-1@@ -28,7 +28,7 @@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.cumsdos_off_t-2.4.9/fs/umsdos/rdir.cfs/umsdos/rdir.c +1
-1@@ -32,7 +32,7 @@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) {
Quoted 1 line · Peter Fales
Yes. It works! Thanks! Will that change go into the official kernel??
I will send that patch to Linus. However, I don't know whether that is applied.
Signature · 1 line
OGAWA Hirofumi <[email protected]>