From: Bryan Schumaker Date: Thu, 9 Aug 2012 18:05:49 +0000 (-0400) Subject: NFS: Clear key construction data if the idmap upcall fails X-Git-Tag: v3.6-rc3~6^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5066945b7ea346a11424dbeb7830b7d7d00c206;p=pandora-kernel.git NFS: Clear key construction data if the idmap upcall fails idmap_pipe_downcall already clears this field if the upcall succeeds, but if it fails (rpc.idmapd isn't running) the field will still be set on the next call triggering a BUG_ON(). This patch tries to handle all possible ways that the upcall could fail and clear the idmap key data for each one. Signed-off-by: Bryan Schumaker Tested-by: William Dauchy Cc: stable@vger.kernel.org [>= 3.4] Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed