mirror of
https://github.com/samba-team/samba.git
synced 2025-03-11 16:58:40 +03:00
smbd: Remove some unused code
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
parent
1fb07bc721
commit
c3799dfb4a
@ -5146,15 +5146,6 @@ NTSTATUS smbd_do_setfilepathinfo(connection_struct *conn,
|
|||||||
case SMB_FILE_DISPOSITION_INFORMATION:
|
case SMB_FILE_DISPOSITION_INFORMATION:
|
||||||
case SMB_SET_FILE_DISPOSITION_INFO: /* Set delete on close for open file. */
|
case SMB_SET_FILE_DISPOSITION_INFO: /* Set delete on close for open file. */
|
||||||
{
|
{
|
||||||
#if 0
|
|
||||||
/* JRA - We used to just ignore this on a path ?
|
|
||||||
* Shouldn't this be invalid level on a pathname
|
|
||||||
* based call ?
|
|
||||||
*/
|
|
||||||
if (tran_call != TRANSACT2_SETFILEINFO) {
|
|
||||||
return ERROR_NT(NT_STATUS_INVALID_LEVEL);
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
status = smb_set_file_disposition_info(conn,
|
status = smb_set_file_disposition_info(conn,
|
||||||
pdata,
|
pdata,
|
||||||
total_data,
|
total_data,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user