NFS/pnfs: Ensure that _pnfs_return_layout() waits for layoutreturn completion

We require that any outstanding layout return completes before we can
free up the inode so that the layout itself can be freed.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
This commit is contained in:
Trond Myklebust 2020-04-19 14:38:00 -04:00
commit 7bcc10585b