lkml.org 
[lkml]   [1998]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectFIX for ISOFS in Kernel 2.1.116/117
Date
From
Hello,

some of the Acorn guys changed the isofs code, so that
a) map=acorn is the default and
b) the Kernel oopses now for certain CDs.

Apparently someone forgot a check for the ACORN-Mapping before allocating
the tempbuf for dir-name mapping.

The following patch fixes both problems (if a) is considered a problem):
(to be applied in linux/fs/isofs)

--- namei.c.backup Mon Aug 24 16:11:10 1998
+++ namei.c Mon Aug 24 16:11:55 1998
@@ -162,7 +162,8 @@
dpnt = de->name;

if (dir->i_sb->u.isofs_sb.s_rock ||
- dir->i_sb->u.isofs_sb.s_joliet_level) {
+ dir->i_sb->u.isofs_sb.s_joliet_level ||
+ dir->i_sb->u.isofs_sb.s_mapping == 'a') {
if (! page) {
page = (unsigned char *)
__get_free_page(GFP_KERNEL);
--- inode.c.backup Wed Aug 19 22:00:01 1998
+++ inode.c Mon Aug 24 16:09:53 1998
@@ -90,7 +90,7 @@
{
char *this_char,*value;

- popt->map = 'a';
+ popt->map = 'n';
popt->rock = 'y';
popt->joliet = 'y';
popt->cruft = 'n';

Greetings,
Peter

--
Peter Schlaile *** eMail udbz@rz.uni-karlsruhe.de

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html

\
 
 \ /
  Last update: 2005-03-22 13:44    [W:0.021 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site