diff options
| author | 2021-07-02 17:24:22 -0400 | |
|---|---|---|
| committer | 2021-07-08 14:03:26 -0400 | |
| commit | b4e89bcba2b3a966e043107cb52c682bb860cee7 (patch) | |
| tree | 90e44489ebdc294971b867814a4cbce8fed10791 /include/linux | |
| parent | NFSv4/pnfs: Fix layoutget behaviour after invalidation (diff) | |
| download | linux-dev-b4e89bcba2b3a966e043107cb52c682bb860cee7.tar.xz linux-dev-b4e89bcba2b3a966e043107cb52c682bb860cee7.zip | |
NFSv4/pnfs: Clean up layout get on open
Cache the layout in the arguments so we don't have to keep looking it up
from the inode.
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/nfs_xdr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h index 717ecc87c9e7..e9698b6278a5 100644 --- a/include/linux/nfs_xdr.h +++ b/include/linux/nfs_xdr.h @@ -277,6 +277,7 @@ struct nfs4_layoutget { struct nfs4_layoutget_args args; struct nfs4_layoutget_res res; const struct cred *cred; + struct pnfs_layout_hdr *lo; gfp_t gfp_flags; }; |
