patch-1.3.9 linux/fs/isofs/namei.c
Next file: linux/fs/minix/Makefile
Previous file: linux/fs/isofs/inode.c
Back to the patch index
Back to the overall index
- Lines: 21
- Date:
Tue Jul 11 07:56:04 1995
- Orig file:
v1.3.8/linux/fs/isofs/namei.c
- Orig date:
Wed Feb 22 08:15:14 1995
diff -u --recursive --new-file v1.3.8/linux/fs/isofs/namei.c linux/fs/isofs/namei.c
@@ -178,8 +178,18 @@
dlen--;
}
}
- match = isofs_match(namelen,name,dpnt,dlen);
- if (cpnt) {
+ /*
+ * Skip hidden or associated files unless unhide is set
+ */
+ match = 0;
+ if( !(de->flags[-dir->i_sb->u.isofs_sb.s_high_sierra] & 5)
+ || dir->i_sb->u.isofs_sb.s_unhide == 'y' )
+ {
+ match = isofs_match(namelen,name,dpnt,dlen);
+ }
+
+ if (cpnt)
+ {
kfree(cpnt);
cpnt = NULL;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this