patch-2.1.32 linux/fs/isofs/rock.c
Next file: linux/fs/isofs/util.c
Previous file: linux/fs/isofs/inode.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Thu Apr 3 10:23:56 1997
- Orig file:
v2.1.31/linux/fs/isofs/rock.c
- Orig date:
Thu Jan 2 02:11:30 1997
diff -u --recursive --new-file v2.1.31/linux/fs/isofs/rock.c linux/fs/isofs/rock.c
@@ -203,6 +203,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;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov