NFSv4.1: Simplify setting the layout header credential
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 21 May 2013 13:26:49 +0000 (09:26 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 6 Jun 2013 20:24:38 +0000 (16:24 -0400)
commit5cc2216db844beac6ce78c3e48137cd58911b297
treea70c70ed5c844cce63d599d97abbb8db666fc9c7
parent4f0b429df104c8ab41fa1b3013e13e0f95f3da52
NFSv4.1: Simplify setting the layout header credential

ctx->cred == ctx->state->owner->so_cred, so let's just use the former.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/pnfs.c