Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 320201
b: refs/heads/master
c: 6e5b587
h: refs/heads/master
i:
  320199: 14ca7f0
v: v3
  • Loading branch information
Andy Adamson authored and Trond Myklebust committed Jun 29, 2012
1 parent c6793af commit acd7aa3
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: e3074507d93a0b7f1430dec7c6addb307d4f30da
refs/heads/master: 6e5b587d2f4271a1a4a47e3169db7157aefc31ed
4 changes: 3 additions & 1 deletion trunk/fs/nfs/nfs4proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -2825,16 +2825,18 @@ nfs4_proc_create(struct inode *dir, struct dentry *dentry, struct iattr *sattr,
struct dentry *de = dentry;
struct nfs4_state *state;
struct rpc_cred *cred = NULL;
struct nfs4_threshold **thp = NULL;
fmode_t fmode = 0;
int status = 0;

if (ctx != NULL) {
cred = ctx->cred;
de = ctx->dentry;
fmode = ctx->mode;
thp = &ctx->mdsthreshold;
}
sattr->ia_mode &= ~current_umask();
state = nfs4_do_open(dir, de, fmode, flags, sattr, cred, NULL);
state = nfs4_do_open(dir, de, fmode, flags, sattr, cred, thp);
d_drop(dentry);
if (IS_ERR(state)) {
status = PTR_ERR(state);
Expand Down

0 comments on commit acd7aa3

Please sign in to comment.