From: J. Bruce Fields Date: Fri, 29 Mar 2013 00:37:14 +0000 (-0400) Subject: nfsd4: don't close read-write opens too soon X-Git-Tag: v3.2.45~96 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be80ab092cbb6f8141151b8cc2b34524fd0535f4;p=pandora-kernel.git nfsd4: don't close read-write opens too soon commit 0c7c3e67ab91ec6caa44bdf1fc89a48012ceb0c5 upstream. Don't actually close any opens until we don't need them at all. This means being left with write access when it's not really necessary, but that's better than putting a file that might still have posix locks held on it, as we have been. Reported-by: Toralf Förster Signed-off-by: J. Bruce Fields Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed