]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite75a829701f928f62104713bb7eb220b1866298d
tree1b924b433bfddcc8520b6a5abbe172ff5721c61b
parentee42929eba147919e3b7f694b3eb5e9edfa7da4c
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