Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 18965
b: refs/heads/master
c: d75f2b9
h: refs/heads/master
i:
  18963: 52c4830
v: v3
  • Loading branch information
Al Viro authored and Linus Torvalds committed Jan 19, 2006
1 parent 945a844 commit 55de6e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5274881992b8a632620f69346401da66e480a23b
refs/heads/master: d75f2b9f5da71667aba7e97a962c49f1e17aa4ca
6 changes: 3 additions & 3 deletions trunk/fs/nfsd/vfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -1134,7 +1134,7 @@ nfsd_create(struct svc_rqst *rqstp, struct svc_fh *fhp,
"nfsd_create: parent %s/%s not locked!\n",
dentry->d_parent->d_name.name,
dentry->d_name.name);
err = -EIO;
err = nfserr_io;
goto out;
}
}
Expand Down Expand Up @@ -1600,7 +1600,7 @@ nfsd_rename(struct svc_rqst *rqstp, struct svc_fh *ffhp, char *fname, int flen,
if ((ffhp->fh_export->ex_flags & NFSEXP_MSNFS) &&
((atomic_read(&odentry->d_count) > 1)
|| (atomic_read(&ndentry->d_count) > 1))) {
err = nfserr_perm;
err = -EPERM;
} else
#endif
err = vfs_rename(fdir, odentry, tdir, ndentry);
Expand Down Expand Up @@ -1672,7 +1672,7 @@ nfsd_unlink(struct svc_rqst *rqstp, struct svc_fh *fhp, int type,
#ifdef MSNFS
if ((fhp->fh_export->ex_flags & NFSEXP_MSNFS) &&
(atomic_read(&rdentry->d_count) > 1)) {
err = nfserr_perm;
err = -EPERM;
} else
#endif
err = vfs_unlink(dirp, rdentry);
Expand Down

0 comments on commit 55de6e9

Please sign in to comment.