patch-2.3.99-pre6 linux/fs/nfsd/vfs.c
Next file: linux/fs/ntfs/fs.c
Previous file: linux/fs/nfsd/nfsproc.c
Back to the patch index
Back to the overall index
- Lines: 73
- Date:
Fri Apr 21 13:36:40 2000
- Orig file:
v2.3.99-pre5/linux/fs/nfsd/vfs.c
- Orig date:
Tue Apr 11 15:09:22 2000
diff -u --recursive --new-file v2.3.99-pre5/linux/fs/nfsd/vfs.c linux/fs/nfsd/vfs.c
@@ -139,7 +139,8 @@
} else {
nd.mnt = NULL;
nd.dentry = dget(dparent);
- err = walk_name(name, 0, &nd);
+ nd.flags = 0;
+ err = walk_name(name, &nd);
if (err)
goto out_nfserr;
/*
@@ -838,7 +839,7 @@
if (!resfhp->fh_dverified) {
/* called from nfsd_proc_mkdir, or possibly nfsd3_proc_create */
fh_lock(fhp);
- dchild = lookup_one(fname, dget(dentry));
+ dchild = lookup_one(fname, dentry);
err = PTR_ERR(dchild);
if (IS_ERR(dchild))
goto out_nfserr;
@@ -961,7 +962,7 @@
/*
* Compose the response file handle.
*/
- dchild = lookup_one(fname, dget(dentry));
+ dchild = lookup_one(fname, dentry);
err = PTR_ERR(dchild);
if(IS_ERR(dchild))
goto out_nfserr;
@@ -1108,7 +1109,7 @@
goto out;
fh_lock(fhp);
dentry = fhp->fh_dentry;
- dnew = lookup_one(fname, dget(dentry));
+ dnew = lookup_one(fname, dentry);
err = PTR_ERR(dnew);
if (IS_ERR(dnew))
goto out_nfserr;
@@ -1173,7 +1174,7 @@
ddir = ffhp->fh_dentry;
dirp = ddir->d_inode;
- dnew = lookup_one(fname, dget(ddir));
+ dnew = lookup_one(fname, ddir);
err = PTR_ERR(dnew);
if (IS_ERR(dnew))
goto out_nfserr;
@@ -1238,7 +1239,7 @@
goto out;
double_down(&tdir->i_sem, &fdir->i_sem);
- odentry = lookup_one(fname, dget(fdentry));
+ odentry = lookup_one(fname, fdentry);
err = PTR_ERR(odentry);
if (IS_ERR(odentry))
goto out_nfserr;
@@ -1247,7 +1248,7 @@
if (!odentry->d_inode)
goto out_dput_old;
- ndentry = lookup_one(tname, dget(tdentry));
+ ndentry = lookup_one(tname, tdentry);
err = PTR_ERR(ndentry);
if (IS_ERR(ndentry))
goto out_dput_old;
@@ -1310,7 +1311,7 @@
dentry = fhp->fh_dentry;
dirp = dentry->d_inode;
- rdentry = lookup_one(fname, dget(dentry));
+ rdentry = lookup_one(fname, dentry);
err = PTR_ERR(rdentry);
if (IS_ERR(rdentry))
goto out_nfserr;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)