mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s3: Reply correctly to FSCTL_IS_VOLUME_DIRTY
This commit is contained in:
parent
356add8a63
commit
d082701ea5
@ -38,6 +38,7 @@
|
||||
#define FSCTL_UNLOCK_VOLUME 0x0009001C
|
||||
#define FSCTL_GET_COMPRESSION 0x0009003C
|
||||
#define FSCTL_SET_COMPRESSION 0x0009C040
|
||||
#define FSCTL_IS_VOLUME_DIRTY 0x00090078
|
||||
#define FSCTL_REQUEST_FILTER_OPLOCK 0x0009008C
|
||||
#define FSCTL_FIND_FILES_BY_SID 0x0009008F
|
||||
#define FSCTL_FILESYS_GET_STATISTICS 0x00090090
|
||||
|
@ -2432,6 +2432,15 @@ static void call_nt_transact_ioctl(connection_struct *conn,
|
||||
}
|
||||
return;
|
||||
}
|
||||
case FSCTL_IS_VOLUME_DIRTY:
|
||||
DEBUG(10,("FSCTL_IS_VOLUME_DIRTY: called on FID[0x%04X] "
|
||||
"(but not implemented)\n", (int)fidnum));
|
||||
/*
|
||||
* http://msdn.microsoft.com/en-us/library/cc232128%28PROT.10%29.aspx
|
||||
* says we have to respond with NT_STATUS_INVALID_PARAMETER
|
||||
*/
|
||||
reply_nterror(req, NT_STATUS_INVALID_PARAMETER);
|
||||
return;
|
||||
default:
|
||||
/* Only print this once... */
|
||||
if (!logged_ioctl_message) {
|
||||
|
Loading…
Reference in New Issue
Block a user