pNFS: LAYOUTRETURN should only update the stateid if the layout is valid
authorTrond Myklebust <trond.myklebust@primarydata.com>
Sun, 24 Jul 2016 16:26:34 +0000 (12:26 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Sun, 24 Jul 2016 16:51:49 +0000 (12:51 -0400)
commit45fcc7bca7004687e9ba28e08b3dfb6787a0b466
treeed5f90b361769a5f664ae94cf262e420279790fa
parentdc05973b288a5226bb7e56afd6c2fa07560a907c
pNFS: LAYOUTRETURN should only update the stateid if the layout is valid

If the layout was completely returned, then ignore the returned layout
stateid.

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