Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 104123
b: refs/heads/master
c: e518f05
h: refs/heads/master
i:
  104121: bd3098b
  104119: 4f2326a
v: v3
  • Loading branch information
Benny Halevy authored and J. Bruce Fields committed Jul 7, 2008
1 parent 88cc035 commit 7b5c77b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4f83aa302f8f8b42397c6d3703d670f0588c03ec
refs/heads/master: e518f0560a191269bd345178c899c790eb1ad4c8
4 changes: 4 additions & 0 deletions trunk/fs/nfsd/nfs4state.c
Original file line number Diff line number Diff line change
Expand Up @@ -1588,6 +1588,10 @@ nfs4_upgrade_open(struct svc_rqst *rqstp, struct svc_fh *cur_fh, struct nfs4_sta
int err = get_write_access(inode);
if (err)
return nfserrno(err);
err = mnt_want_write(cur_fh->fh_export->ex_path.mnt);
if (err)
return nfserrno(err);
file_take_write(filp);
}
status = nfsd4_truncate(rqstp, cur_fh, open);
if (status) {
Expand Down

0 comments on commit 7b5c77b

Please sign in to comment.