Author: pschweitzer
Date: Sun Dec 7 16:54:27 2014
New Revision: 65582
URL: http://svn.reactos.org/svn/reactos?rev=65582&view=rev
Log:
[BUGCODES]
Add bug check code 0xF9 DRIVER_RETURNED_STATUS_REPARSE_FOR_VOLUME_OPEN
Ref: http://msdn.microsoft.com/en-us/library/windows/hardware/ff560396%28v=vs.85…
Modified:
trunk/reactos/include/reactos/mc/bugcodes.mc
Modified: trunk/reactos/include/reactos/mc/bugcodes.mc
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/mc/bugcode…
==============================================================================
--- trunk/reactos/include/reactos/mc/bugcodes.mc [iso-8859-1] (original)
+++ trunk/reactos/include/reactos/mc/bugcodes.mc [iso-8859-1] Sun Dec 7 16:54:27 2014
@@ -1586,6 +1586,14 @@
An initialization failure occurred while attempting to boot from the RAM disk.
.
+MessageId=0xF9
+Severity=Success
+Facility=System
+SymbolicName=DRIVER_RETURNED_STATUS_REPARSE_FOR_VOLUME_OPEN
+Language=English
+STATUS_REPARSE was returned from a FSD when trying to open a volume.
+.
+
MessageId=0xFA
Severity=Success
Facility=System
Author: pschweitzer
Date: Sun Dec 7 14:16:13 2014
New Revision: 65581
URL: http://svn.reactos.org/svn/reactos?rev=65581&view=rev
Log:
[NTFS]
Implement NtfsFsdDeviceControl()
Added:
trunk/reactos/drivers/filesystems/ntfs/devctl.c (with props)
Modified:
trunk/reactos/drivers/filesystems/ntfs/CMakeLists.txt
trunk/reactos/drivers/filesystems/ntfs/ntfs.c
trunk/reactos/drivers/filesystems/ntfs/ntfs.h
Modified: trunk/reactos/drivers/filesystems/ntfs/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/ntfs/C…
==============================================================================
--- trunk/reactos/drivers/filesystems/ntfs/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/drivers/filesystems/ntfs/CMakeLists.txt [iso-8859-1] Sun Dec 7 14:16:13 2014
@@ -4,6 +4,7 @@
blockdev.c
close.c
create.c
+ devctl.c
dirctl.c
dispatch.c
fastio.c
Added: trunk/reactos/drivers/filesystems/ntfs/devctl.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/ntfs/d…
==============================================================================
--- trunk/reactos/drivers/filesystems/ntfs/devctl.c (added)
+++ trunk/reactos/drivers/filesystems/ntfs/devctl.c [iso-8859-1] Sun Dec 7 14:16:13 2014
@@ -0,0 +1,46 @@
+/*
+ * ReactOS kernel
+ * Copyright (C) 2014 ReactOS Team
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS kernel
+ * FILE: drivers/filesystem/ntfs/devctl.c
+ * PURPOSE: NTFS filesystem driver
+ * PROGRAMMERS: Pierre Schweitzer (pierre(a)reactos.org)
+ */
+
+/* INCLUDES *****************************************************************/
+
+#include "ntfs.h"
+
+#define NDEBUG
+#include <debug.h>
+
+/* FUNCTIONS ****************************************************************/
+
+NTSTATUS
+NTAPI
+NtfsFsdDeviceControl(PDEVICE_OBJECT DeviceObject,
+ PIRP Irp)
+{
+ PDEVICE_EXTENSION DeviceExt;
+
+ DeviceExt = DeviceObject->DeviceExtension;
+ IoSkipCurrentIrpStackLocation(Irp);
+
+ return IoCallDriver(DeviceExt->StorageDevice, Irp);
+}
Propchange: trunk/reactos/drivers/filesystems/ntfs/devctl.c
------------------------------------------------------------------------------
svn:eol-style = native
Modified: trunk/reactos/drivers/filesystems/ntfs/ntfs.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/ntfs/n…
==============================================================================
--- trunk/reactos/drivers/filesystems/ntfs/ntfs.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/filesystems/ntfs/ntfs.c [iso-8859-1] Sun Dec 7 14:16:13 2014
@@ -135,6 +135,7 @@
DriverObject->MajorFunction[IRP_MJ_SET_VOLUME_INFORMATION] = NtfsFsdDispatch;
DriverObject->MajorFunction[IRP_MJ_DIRECTORY_CONTROL] = NtfsFsdDirectoryControl;
DriverObject->MajorFunction[IRP_MJ_FILE_SYSTEM_CONTROL] = NtfsFsdFileSystemControl;
+ DriverObject->MajorFunction[IRP_MJ_DEVICE_CONTROL] = NtfsFsdDeviceControl;
return;
}
Modified: trunk/reactos/drivers/filesystems/ntfs/ntfs.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/ntfs/n…
==============================================================================
--- trunk/reactos/drivers/filesystems/ntfs/ntfs.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/filesystems/ntfs/ntfs.h [iso-8859-1] Sun Dec 7 14:16:13 2014
@@ -519,6 +519,14 @@
PIRP Irp);
+/* devctl.c */
+
+DRIVER_DISPATCH NtfsFsdDeviceControl;
+NTSTATUS NTAPI
+NtfsFsdDeviceControl(PDEVICE_OBJECT DeviceObject,
+ PIRP Irp);
+
+
/* dirctl.c */
DRIVER_DISPATCH NtfsFsdDirectoryControl;
Author: pschweitzer
Date: Sun Dec 7 14:05:47 2014
New Revision: 65580
URL: http://svn.reactos.org/svn/reactos?rev=65580&view=rev
Log:
[NTFS]
Allow direct opening of a reparse point, but don't handle yet reparse itself
Modified:
trunk/reactos/drivers/filesystems/ntfs/create.c
Modified: trunk/reactos/drivers/filesystems/ntfs/create.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/ntfs/c…
==============================================================================
--- trunk/reactos/drivers/filesystems/ntfs/create.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/filesystems/ntfs/create.c [iso-8859-1] Sun Dec 7 14:05:47 2014
@@ -245,6 +245,23 @@
return STATUS_NOT_A_DIRECTORY;
}
+ /* Properly handle reparse points:
+ * - likely overwrite FO name
+ * - return STATUS_REPARSE to IO manager
+ * - Do we have to attach reparse data to Irp->Tail.Overlay.AuxiliaryBuffer?
+ * See: http://www.osronline.com/showThread.cfm?link=6623
+ *
+ * If it is a reparse point & FILE_OPEN_REPARSE_POINT, then allow opening it
+ * as a normal file.
+ */
+ if (NtfsFCBIsReparsePoint(Fcb) &&
+ ((RequestedOptions & FILE_OPEN_REPARSE_POINT) != FILE_OPEN_REPARSE_POINT))
+ {
+ DPRINT1("Reparse point not handled!\n");
+ NtfsCloseFile(DeviceExt, FileObject);
+ return STATUS_NOT_IMPLEMENTED;
+ }
+
/* HUGLY HACK: remain RO so far... */
if (RequestedDisposition == FILE_OVERWRITE ||
RequestedDisposition == FILE_OVERWRITE_IF ||
Author: dreimer
Date: Sat Dec 6 13:43:55 2014
New Revision: 65574
URL: http://svn.reactos.org/svn/reactos?rev=65574&view=rev
Log:
Rule #1 of today: If you steal from resources... then at least steal from the most fitting one in layout matters...
[OSK]
Fix german layout by moving the "#" button where it should be and adding the "<" button next to "Y"
Modified:
trunk/reactos/base/applications/osk/lang/de-DE.rc
Modified: trunk/reactos/base/applications/osk/lang/de-DE.rc
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/osk/lang…
==============================================================================
--- trunk/reactos/base/applications/osk/lang/de-DE.rc [iso-8859-1] (original)
+++ trunk/reactos/base/applications/osk/lang/de-DE.rc [iso-8859-1] Sat Dec 6 13:43:55 2014
@@ -56,7 +56,6 @@
PUSHBUTTON "P",SCAN_CODE_26,188,43,14,13
PUSHBUTTON "Ã",SCAN_CODE_27,206,43,14,13
PUSHBUTTON "+",SCAN_CODE_28,224,43,14,13
- PUSHBUTTON "#",SCAN_CODE_29,242,43,20,13
PUSHBUTTON "Caps Lock",SCAN_CODE_30,3,60,28,13,BS_ICON
PUSHBUTTON "A",SCAN_CODE_31,35,60,14,13
PUSHBUTTON "S",SCAN_CODE_32,53,60,14,13
@@ -69,8 +68,10 @@
PUSHBUTTON "L",SCAN_CODE_39,177,60,14,13
PUSHBUTTON "Ã",SCAN_CODE_40,195,60,14,13
PUSHBUTTON "Ã",SCAN_CODE_41,213,60,14,13
- PUSHBUTTON "Ret",SCAN_CODE_43,231,60,31,13,BS_ICON
- PUSHBUTTON "Shift",SCAN_CODE_44,3,77,35,13,BS_ICON|BS_PUSHLIKE|BS_AUTOCHECKBOX
+ PUSHBUTTON "#",SCAN_CODE_42,231,60,14,13
+ PUSHBUTTON "Ent",SCAN_CODE_43,248,43,14,30,BS_ICON
+ PUSHBUTTON "Shift",SCAN_CODE_44,3,77,18,13,BS_ICON|BS_PUSHLIKE|BS_AUTOCHECKBOX
+ PUSHBUTTON "<",SCAN_CODE_45,24,77,14,13
PUSHBUTTON "Y",SCAN_CODE_46,42,77,14,13
PUSHBUTTON "X",SCAN_CODE_47,60,77,14,13
PUSHBUTTON "C",SCAN_CODE_48,78,77,14,13