Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 253893
b: refs/heads/master
c: 7d751f6
h: refs/heads/master
i:
  253891: 4742bf7
v: v3
  • Loading branch information
Casey Bodley authored and J. Bruce Fields committed Jun 6, 2011
1 parent 21ba74b commit 24e8802
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: be1f4084b4824301e640e81d63b6275cd99ee6a1
refs/heads/master: 7d751f6f8c679f51b73d01a1b5269347a929004c
4 changes: 3 additions & 1 deletion trunk/fs/nfsd/vfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -1660,8 +1660,10 @@ nfsd_link(struct svc_rqst *rqstp, struct svc_fh *ffhp,
if (!dold->d_inode)
goto out_drop_write;
host_err = nfsd_break_lease(dold->d_inode);
if (host_err)
if (host_err) {
err = nfserrno(host_err);
goto out_drop_write;
}
host_err = vfs_link(dold, dirp, dnew);
if (!host_err) {
err = nfserrno(commit_metadata(ffhp));
Expand Down

0 comments on commit 24e8802

Please sign in to comment.