patch-2.1.122 linux/fs/isofs/namei.c
Next file: linux/fs/msdos/namei.c
Previous file: linux/fs/isofs/inode.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Sat Sep 12 10:40:39 1998
- Orig file:
v2.1.121/linux/fs/isofs/namei.c
- Orig date:
Sat Sep 5 16:46:41 1998
diff -u --recursive --new-file v2.1.121/linux/fs/isofs/namei.c linux/fs/isofs/namei.c
@@ -201,8 +201,8 @@
* 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' )
+ if ((!(de->flags[-dir->i_sb->u.isofs_sb.s_high_sierra] & 5)
+ || dir->i_sb->u.isofs_sb.s_unhide == 'y') && dlen)
{
match = (isofs_cmp(dentry,dpnt,dlen) == 0);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov