patch-2.3.13 linux/fs/ncpfs/dir.c
Next file: linux/fs/ncpfs/inode.c
Previous file: linux/fs/msdos/namei.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sat Aug 7 12:59:40 1999
- Orig file:
v2.3.12/linux/fs/ncpfs/dir.c
- Orig date:
Wed Jul 21 15:46:48 1999
diff -u --recursive --new-file v2.3.12/linux/fs/ncpfs/dir.c linux/fs/ncpfs/dir.c
@@ -350,7 +350,7 @@
struct ncpfs_inode_info finfo;
__u8 __name[dentry->d_name.len + 1];
- if (!dir)
+ if (!dentry->d_inode || !dir)
return 0;
server = NCP_SERVER(dir);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)