Skip to contentSkip to conversation

isofs and no corruption

PATCH [email protected] 1 participant 1 message Nov 29, 2000

lore
Share & tools
lore
#0 lore raw

Tried the same test three times with 2.4.0test11 - three times corruption. Tried it three times with 2.4.0test12pre3 - no corruption. Good!

On the other hand, isofs still lacks part of the required fixes. Made a new patch relative to test12pre3.

Andries

-----

linux/Documentation/filesystems/devfs/README renamed from linux-2.4.0test12pre3/linux/Documentation/filesystems/devfs/README +2 -2
diff -u --recursive --new-file ../linux-2.4.0test12pre3/linux/Documentation/filesystems/devfs/README ./linux/Documentation/filesystems/devfs/README
@@ -529,7 +529,7 @@
 If you want to construct a minimal chroot() gaol, the following
 command should suffice:
 
-mount -t bind /dev/null /gaol/dev/null
+mount --bind /dev/null /gaol/dev/null
 
 
 Repeat for other device nodes you want to expose. Simple!
@@ -739,7 +739,7 @@
 add the following lines near the very beginning of your boot
 scripts:
 
-mount -t bind /dev /dev-state
+mount --bind /dev /dev-state
 mount -t devfs none /dev
 devfsd /dev
 
linux/Makefile renamed from linux-2.4.0test12pre3/linux/Makefile +0 -1
diff -u --recursive --new-file ../linux-2.4.0test12pre3/linux/Makefile ./linux/Makefile
@@ -206,7 +206,6 @@
 	drivers/net/hamradio/soundmodem/sm_tbl_{hapn4800,psk4800}.h \
 	drivers/net/hamradio/soundmodem/sm_tbl_{afsk2400_7,afsk2400_8}.h \
 	drivers/net/hamradio/soundmodem/gentbl \
-	drivers/char/hfmodem/gentbl drivers/char/hfmodem/tables.h \
 	drivers/sound/*_boot.h drivers/sound/.*.boot \
 	drivers/sound/msndinit.c \
 	drivers/sound/msndperm.c \
linux/fs/isofs/dir.c renamed from linux-2.4.0test12pre3/linux/fs/isofs/dir.c +1 -1
diff -u --recursive --new-file ../linux-2.4.0test12pre3/linux/fs/isofs/dir.c ./linux/fs/isofs/dir.c
@@ -163,7 +163,7 @@
 					return 0;
 				memcpy((void *) tmpde + slop, bh->b_data, offset);
 			}
-			de = tmpde;				
+			de = tmpde;
 		}
 
 		if (de->flags[-high_sierra] & 0x80) {
linux/fs/isofs/inode.c renamed from linux-2.4.0test12pre3/linux/fs/isofs/inode.c +115 -84

302 lines not on this page · raw message

linux/fs/isofs/namei.c renamed from linux-2.4.0test12pre3/linux/fs/isofs/namei.c +5 -4
diff -u --recursive --new-file ../linux-2.4.0test12pre3/linux/fs/isofs/namei.c ./linux/fs/isofs/namei.c
@@ -161,13 +161,14 @@
 	struct inode *inode;
 	struct page *page;
 
-#ifdef DEBUG
-	printk("lookup: %x %s\n",dir->i_ino, dentry->d_name.name);
-#endif
 	dentry->d_op = dir->i_sb->s_root->d_op;
 
 	page = alloc_page(GFP_USER);
-	ino = isofs_find_entry(dir, dentry, page_address(page), 1024 + page_address(page));
+	if (!page)
+		return ERR_PTR(-ENOMEM);
+
+	ino = isofs_find_entry(dir, dentry, page_address(page),
+			       1024 + page_address(page));
 	__free_page(page);
 
 	inode = NULL;
linux/fs/isofs/rock.c renamed from linux-2.4.0test12pre3/linux/fs/isofs/rock.c +16 -28

127 lines not on this page · raw message

linux/fs/isofs/util.c renamed from linux-2.4.0test12pre3/linux/fs/isofs/util.c +1 -1
diff -u --recursive --new-file ../linux-2.4.0test12pre3/linux/fs/isofs/util.c ./linux/fs/isofs/util.c
@@ -98,7 +98,7 @@
 
 int iso_date(char * p, int flag)
 {
-	int year, month, day, hour ,minute, second, tz;
+	int year, month, day, hour, minute, second, tz;
 	int crtime, days, i;
 
 	year = p[0] - 70;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/