pNFS: Don't send layoutreturn if the layout is already invalid
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 15 Jun 2018 20:31:02 +0000 (16:31 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 19 Jun 2018 12:52:27 +0000 (08:52 -0400)
commitc8bf70735382401a161d9c818e8ea89500812d0c
tree972531a2cd646bdb6aaaac128e19902abe06775e
parent2dbf8dffbf35fd8f611083b9d9fe74fdccf912a3
pNFS: Don't send layoutreturn if the layout is already invalid

If the layout was invalidated due to a reboot, then don't try to send
a layoutreturn for it.

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