diff options
author | Bryan Schumaker <bjschuma@netapp.com> | 2012-08-09 20:05:49 +0200 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-08-16 23:20:02 +0200 |
commit | c5066945b7ea346a11424dbeb7830b7d7d00c206 (patch) | |
tree | b1417785e3681769def7bb571d9520a2b60f0f22 /drivers/ssb/driver_gige.c | |
parent | NFSv4: Don't use private xdr_stream fields in decode_getacl (diff) | |
download | linux-c5066945b7ea346a11424dbeb7830b7d7d00c206.tar.xz linux-c5066945b7ea346a11424dbeb7830b7d7d00c206.zip |
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 <bjschuma@netapp.com>
Tested-by: William Dauchy <wdauchy@gmail.com>
Cc: stable@vger.kernel.org [>= 3.4]
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'drivers/ssb/driver_gige.c')
0 files changed, 0 insertions, 0 deletions