NFSv4/pnfs: Clean up layout get on open
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 2 Jul 2021 21:24:22 +0000 (17:24 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 8 Jul 2021 18:03:26 +0000 (14:03 -0400)
commitb4e89bcba2b3a966e043107cb52c682bb860cee7
tree90e44489ebdc294971b867814a4cbce8fed10791
parent0b77f97a7e42adc72bd566ff8cb733ea426f74f6
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>
fs/nfs/nfs4proc.c
fs/nfs/pnfs.c
include/linux/nfs_xdr.h