Skip to contentSkip to conversation

UMSDOS problems in 2.4.9?

DISCUSSION Peter Fales 2 participants 4 messages Aug 19, 2001 – Aug 20, 2001

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

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
diff -urN linux-2.4.9/fs/umsdos/dir.c umsdos_off_t-2.4.9/fs/umsdos/dir.c
@@ -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
diff -urN linux-2.4.9/fs/umsdos/ioctl.c umsdos_off_t-2.4.9/fs/umsdos/ioctl.c
@@ -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
diff -urN linux-2.4.9/fs/umsdos/rdir.c umsdos_off_t-2.4.9/fs/umsdos/rdir.c
@@ -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)
 {
#2 lore raw
In reply to Peter Fales

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.c umsdos_off_t-2.4.9/fs/umsdos/dir.c

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)
 {

diff -urN linux-2.4.9/fs/umsdos/ioctl.c umsdos_off_t-2.4.9/fs/umsdos/ioctl.c

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)
 {

diff -urN linux-2.4.9/fs/umsdos/rdir.c umsdos_off_t-2.4.9/fs/umsdos/rdir.c

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)
 {