From acd7aa313f1a452097465a6769dcf2763a97dd97 Mon Sep 17 00:00:00 2001 From: Andy Adamson Date: Thu, 31 May 2012 15:16:03 -0400 Subject: [PATCH] --- yaml --- r: 320201 b: refs/heads/master c: 6e5b587d2f4271a1a4a47e3169db7157aefc31ed h: refs/heads/master i: 320199: 14ca7f0e15cf8e9c93f3b53a951ae86fe98aa7d4 v: v3 --- [refs] | 2 +- trunk/fs/nfs/nfs4proc.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index bc83c726d193..3810945b416b 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: e3074507d93a0b7f1430dec7c6addb307d4f30da +refs/heads/master: 6e5b587d2f4271a1a4a47e3169db7157aefc31ed diff --git a/trunk/fs/nfs/nfs4proc.c b/trunk/fs/nfs/nfs4proc.c index 5a7b3723cc6f..c84c93c4cd36 100644 --- a/trunk/fs/nfs/nfs4proc.c +++ b/trunk/fs/nfs/nfs4proc.c @@ -2825,6 +2825,7 @@ 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; @@ -2832,9 +2833,10 @@ nfs4_proc_create(struct inode *dir, struct dentry *dentry, struct iattr *sattr, 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);