/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*
* Copyright 2013 Nexenta Systems, Inc. All rights reserved.
*/
#include <smbsrv/smb_kproto.h>
/*
* Close a file by fid. All locks or other resources held by the
* requesting process on the file should be released by the server.
* The requesting process can no longer use the fid for further
* file access requests.
*
* If LastWriteTime is non-zero, it should be used to set the file
* timestamp. Otherwise, file system should set the timestamp.
* Failure to set the timestamp, even if requested by the client,
* should not result in an error response from the server.
*/
{
int rc;
}
void
{
}
{
return (SDRC_ERROR);
}
if (smbsr_encode_empty_result(sr) != 0)
return (SDRC_ERROR);
return (SDRC_SUCCESS);
}
/*
* Close the file represented by fid and then disconnect the
* associated tree.
*/
{
int rc;
}
void
{
}
{
return (SDRC_ERROR);
}
if (smbsr_encode_empty_result(sr) != 0)
return (SDRC_ERROR);
return (SDRC_SUCCESS);
}