projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e307450
)
NFSv4.1 handle OPEN O_CREATE mdsthreshold
author
Andy Adamson
<andros@netapp.com>
Thu, 31 May 2012 19:16:03 +0000
(15:16 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Fri, 29 Jun 2012 15:33:43 +0000
(11:33 -0400)
Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4proc.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfs/nfs4proc.c
b/fs/nfs/nfs4proc.c
index 5a7b3723cc6f1a4721b17a94ea2fd4816fd02fff..c84c93c4cd36ba86c1792d239abbb4d0eaa9c2ab 100644
(file)
--- a/
fs/nfs/nfs4proc.c
+++ b/
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);