From: Christoph Hellwig Date: Tue, 28 Apr 2015 13:41:15 +0000 (+0200) Subject: nfsd: fix the check for confirmed openowner in nfs4_preprocess_stateid_op X-Git-Tag: omap-for-v4.2/wakeirq-drivers~2^2~34^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebe9cb3bb13e7b9b281969cd279ce70834f7500f;p=pandora-kernel.git nfsd: fix the check for confirmed openowner in nfs4_preprocess_stateid_op If we find a non-confirmed openowner we jump to exit the function, but do not set an error value. Fix this by factoring out a helper to do the check and properly set the error from nfsd4_validate_stateid. Cc: stable@vger.kernel.org Signed-off-by: Christoph Hellwig Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed