a90cf9f29973990687fa61de9f1f6ea22e924e40Gordon Ross * This file and its contents are supplied under the terms of the
a90cf9f29973990687fa61de9f1f6ea22e924e40Gordon Ross * Common Development and Distribution License ("CDDL"), version 1.0.
a90cf9f29973990687fa61de9f1f6ea22e924e40Gordon Ross * You may only use this file in accordance with the terms of version
a90cf9f29973990687fa61de9f1f6ea22e924e40Gordon Ross * 1.0 of the CDDL.
a90cf9f29973990687fa61de9f1f6ea22e924e40Gordon Ross * A full copy of the text of the CDDL should have accompanied this
a90cf9f29973990687fa61de9f1f6ea22e924e40Gordon Ross * source. A copy of the CDDL is also available via the Internet at
a90cf9f29973990687fa61de9f1f6ea22e924e40Gordon Ross * Copyright 2013 Nexenta Systems, Inc. All rights reserved.
a90cf9f29973990687fa61de9f1f6ea22e924e40Gordon Ross * Dispatch function for SMB2_TREE_DISCONNECT
a90cf9f29973990687fa61de9f1f6ea22e924e40Gordon Ross * SMB2 Tree Disconnect request
a90cf9f29973990687fa61de9f1f6ea22e924e40Gordon Ross if (sr->uid_user == NULL || sr->tid_tree == NULL)
a90cf9f29973990687fa61de9f1f6ea22e924e40Gordon Ross smb_session_cancel_requests(sr->session, sr->tid_tree, sr);
a90cf9f29973990687fa61de9f1f6ea22e924e40Gordon Ross * SMB2 Tree Disconnect reply