rpc_pipe: remove the clntXX dir if creating the pipe fails
authorJeff Layton <jlayton@redhat.com>
Thu, 5 Dec 2013 12:33:49 +0000 (07:33 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 6 Dec 2013 18:06:33 +0000 (13:06 -0500)
commit3396f92f8be606ea485b0a82d4e7749a448b013b
tree58eb36cf3316ab40d9d85b813bcc205bbf514444
parent6aa23d76a7b549521a03b63b6d5b7880ea87eab7
rpc_pipe: remove the clntXX dir if creating the pipe fails

In the event that we create the gssd/clntXX dir, but the pipe creation
subsequently fails, then we should remove the clntXX dir before
returning.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/rpc_pipe.c