lkml.org 
[lkml]   [1997]   [Aug]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: New pre-2.0.31 patches..
In article <199708052112.XAA10078@boole.fs100.suse.de>,
werner@suse.de ("Dr. Werner Fink") writes:
>>
>> o some isofs fixes
>
> This one is apended to this message.

I have another one: On some CDs with rockridge extensions the kernel
prints many lines "Unsupported NM flag settings (2)". The patch prevents
this (copied from newer kernel).

Bye ... Rainer

----------------------------
--- linux-2.0.30/fs/isofs/rock.c Sat May 18 10:15:09 1996
+++ linux/fs/isofs/rock.c Sat May 17 21:02:10 1997
@@ -203,6 +188,17 @@
break;
case SIG('N','M'):
if (truncate) break;
+ /*
+ * If the flags are 2 or 4, this indicates '.' or '..'.
+ * We don't want to do anything with this, because it
+ * screws up the code that calls us. We don't really
+ * care anyways, since we can just use the non-RR
+ * name.
+ */
+ if (rr->u.NM.flags & 6) {
+ break;
+ }
+
if (rr->u.NM.flags & ~1) {
printk("Unsupported NM flag settings (%d)\n",rr->u.NM.flags);
break;
\
 
 \ /
  Last update: 2005-03-22 13:40    [W:0.043 / U:1.392 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site