pnfs: Change pnfs_alloc_init_layoutget_args call signature
authorFred Isaman <fred.isaman@gmail.com>
Thu, 6 Oct 2016 16:08:51 +0000 (12:08 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 31 May 2018 19:03:11 +0000 (15:03 -0400)
commit5e36e2a9411210b1f81982af02504cd20f5c91d5
tree1b924b433bfddcc8520b6a5abbe172ff5721c61b
parent1b146fcff7301c578d6e4a4bff48f1988cc12b4b
pnfs: Change pnfs_alloc_init_layoutget_args call signature

Don't send in a layout, instead use the (possibly NULL) inode.

This is needed for LAYOUTGET attached to an OPEN where the inode is not
yet set.

Signed-off-by: Fred Isaman <fred.isaman@gmail.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/pnfs.c