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: v3.2.70~92 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38787a8ce9e6e053070b12ea19945b962d79d579;p=pandora-kernel.git nfsd: fix the check for confirmed openowner in nfs4_preprocess_stateid_op commit ebe9cb3bb13e7b9b281969cd279ce70834f7500f upstream. 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. Signed-off-by: Christoph Hellwig Signed-off-by: J. Bruce Fields [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed