Re: New pre-2.0.31 patches..

Rainer Bawidamann (widi@wohnheim.uni-ulm.de)
Wed, 6 Aug 1997 15:34:14 +0200 (MET DST)


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;