pNFS: Ensure layoutreturn acts as a completion for layout callbacks
authorTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 21 Jul 2016 16:44:15 +0000 (12:44 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Sun, 24 Jul 2016 20:16:39 +0000 (16:16 -0400)
commite5fd1904b8422615a2a286777e2b7c881ad53e73
treec487abdf11e5502658827c2973a845f9be021607
parent793b7fe55858dca1f5bd3e42185b541a9eddc144
pNFS: Ensure layoutreturn acts as a completion for layout callbacks

When we return NFS_OK to the CB_LAYOUTRECALL, we are required to
send a layoutreturn that "completes" that layout recall request, using
the correct stateid.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/pnfs.c