/* p9_fd_close - shutdown file descriptor transport @client: client instance  */
static void p9_fd_close(struct p9_client *client)
/* p9_fd_close - shutdown file descriptor transport @client: client instance  */
static void p9_fd_close(struct p9_client *client)
{
	struct p9_trans_fd *ts;
	if (!client)
		return;
	ts = client->trans;
	if (!ts)
		return;
	client->status = Disconnected;
	p9_conn_destroy(ts->conn);
	if (ts->rd)
		fput(ts->rd);
	if (ts->wr)
		fput(ts->wr);
	kfree(ts);
}