nfs41: clear NFS_LAYOUT_RETURN if layoutreturn is sent or failed to send
authorPeng Tao <tao.peng@primarydata.com>
Fri, 5 Sep 2014 16:53:26 +0000 (00:53 +0800)
committerTom Haynes <loghyr@primarydata.com>
Tue, 3 Feb 2015 19:06:42 +0000 (11:06 -0800)
commite736a5b98c7aa98fe572990caf5fed9593c72a67
tree211cb03b020a4f83005e8facd97fdd39429f7525
parentaa1e0e3a8e3f16ff50a72a8c623d7e1c467383bc
nfs41: clear NFS_LAYOUT_RETURN if layoutreturn is sent or failed to send

So that pnfs path is not disabled for ever.

Signed-off-by: Peng Tao <tao.peng@primarydata.com>
Signed-off-by: Tom Haynes <Thomas.Haynes@primarydata.com>
fs/nfs/nfs4proc.c
fs/nfs/pnfs.c