lkml.org 
[lkml]   [2006]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectRe: Linux ISO-9660 Rock Ridge bug needs fix
Date
17 Eki 2006 Sal 17:45 tarihinde, Joerg Schilling şunları yazmıştı: 
> Hi,
>
> while working on better ISO-9660 support for the Solaris Kernel,
> I recently enhanced mkisofs to support the Rock Ridge Standard version 1.12
> from 1994.
>
> The difference bewteen version 1.12 and 1.10 (this is what previous
> mkisofs versions did implement) is that the "PX" field is now 8 Byte
> bigger than before (44 instead of 36 bytes).

Is there a test iso file somewhere? I think the attached *untested* patch will
fix it.

Regards,
ismail
diff --git a/fs/isofs/rock.c b/fs/isofs/rock.c
index f3a1db3..061a633 100644
--- a/fs/isofs/rock.c
+++ b/fs/isofs/rock.c
@@ -349,6 +349,7 @@ #endif
inode->i_nlink = isonum_733(rr->u.PX.n_links);
inode->i_uid = isonum_733(rr->u.PX.uid);
inode->i_gid = isonum_733(rr->u.PX.gid);
+ inode->i_ino = isonum_733(rr->u.PX.ino);
break;
case SIG('P', 'N'):
{
diff --git a/fs/isofs/rock.h b/fs/isofs/rock.h
index ed09e2b..faf92c6 100644
--- a/fs/isofs/rock.h
+++ b/fs/isofs/rock.h
@@ -33,6 +33,7 @@ struct RR_PX_s {
char n_links[8];
char uid[8];
char gid[8];
+ char ino[8];
};

struct RR_PN_s {
\
 
 \ /
  Last update: 2006-10-17 19:45    [W:0.108 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site