From: Trond Myklebust Date: Thu, 9 Jul 2015 16:40:01 +0000 (+0200) Subject: pNFS: Fix races between return-on-close and layoutreturn. X-Git-Tag: omap-for-v4.3/fixes-merge-window~179^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f27392cd4cbcadeeaff9eedebcaec8fae9aec8e;p=pandora-kernel.git pNFS: Fix races between return-on-close and layoutreturn. If one or more of the layout segments reports an error during I/O, then we may have to send a layoutreturn to report the error back to the NFS metadata server. This patch ensures that the return-on-close code can detect the outstanding layoutreturn, and not preempt it. Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed