diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-05-20 18:49:34 +0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-06-07 00:24:34 +0400 |
commit | 6ab59344d9796eaf1312c12cfa8ad08328d50fde (patch) | |
tree | fafb7a93bc158dd16826228fb0d2a6ff3e05daad /fs/nfs/nfs4proc.c | |
parent | eb54d43707c69340581940e1fcaecb4d7d17b814 (diff) | |
download | linux-6ab59344d9796eaf1312c12cfa8ad08328d50fde.tar.xz |
NFSv4.1: Ensure that layoutget is called using the layout credential
Ensure that we use the same credential for layoutget, layoutcommit and
layoutreturn.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4proc.c')
-rw-r--r-- | fs/nfs/nfs4proc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index d7ba5616989c..a6b8db43ce3f 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c @@ -6348,6 +6348,7 @@ nfs4_proc_layoutget(struct nfs4_layoutget *lgp, gfp_t gfp_flags) .rpc_proc = &nfs4_procedures[NFSPROC4_CLNT_LAYOUTGET], .rpc_argp = &lgp->args, .rpc_resp = &lgp->res, + .rpc_cred = lgp->cred, }; struct rpc_task_setup task_setup_data = { .rpc_client = server->client, |