patch-2.4.5 linux/fs/nfs/dir.c
Next file: linux/fs/nfs/file.c
Previous file: linux/fs/namei.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sat May 19 18:02:45 2001
- Orig file:
v2.4.4/linux/fs/nfs/dir.c
- Orig date:
Thu Mar 15 09:56:07 2001
diff -u --recursive --new-file v2.4.4/linux/fs/nfs/dir.c linux/fs/nfs/dir.c
@@ -802,7 +802,7 @@
dfprintk(VFS, "trying to rename %s to %s\n",
dentry->d_name.name, silly);
- sdentry = lookup_one(silly, dentry->d_parent);
+ sdentry = lookup_one_len(silly, dentry->d_parent, slen);
/*
* N.B. Better to return EBUSY here ... it could be
* dangerous to delete the file while it's in use.
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)