Messages in this thread Patch in this message | | | Subject | FIX for ISOFS in Kernel 2.1.116/117 | Date | Mon, 24 Aug 1998 16:40:05 +0200 (CES) | From | (Peter Schlaile) |
| |
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
| |