RPCSEC_GSS: Fix an Oopsable condition when creating/destroying pipefs objects
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 26 Aug 2013 20:05:11 +0000 (16:05 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 30 Aug 2013 13:19:37 +0000 (09:19 -0400)
commit6b2fddd3e7f7cd437fb234407d7504fd22caf064
treee0c82f4b204db63bd37194f28df384deca6f55ba
parente726340ac9cf6bb5b3f92a064664e10cd2b748de
RPCSEC_GSS: Fix an Oopsable condition when creating/destroying pipefs objects

If an error condition occurs on rpc_pipefs creation, or the user mounts
rpc_pipefs and then unmounts it, then the dentries in struct gss_auth
need to be reset to NULL so that a second call to gss_pipes_dentries_destroy
doesn't try to free them again.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/auth_gss/auth_gss.c