From: Peng Tao Date: Tue, 22 Sep 2015 03:35:22 +0000 (+0800) Subject: NFS41: make close wait for layoutreturn X-Git-Tag: omap-for-v4.3/fixes-rc5~87^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=500d701f336b2771d34e46da7875a4782515a652;p=pandora-kernel.git NFS41: make close wait for layoutreturn If we send a layoutreturn asynchronously before close, the close might reach server first and layoutreturn would fail with BADSTATEID because there is nothing keeping the layout stateid alive. Also do not pretend sending layoutreturn if we are not. Signed-off-by: Peng Tao Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed