]> 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)
commitd90eb52a3f7eb3db48791273c615fe73d23933da
tree1b924b433bfddcc8520b6a5abbe172ff5721c61b
parent7c377f8869943b0587751cde8197d89dfcb00f1f
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