[0.4.13][BTRFS] Create system threads with OBJ_KERNEL_HANDLE

CORE-16375 #1914

Thanks to patches author ThFabba.
According to JIRA user 'Zero3k' this allows to format a
BTRFS drive again without INVALID_KERNEL_HANDLE BSOD.

Master remains affected,
our devs wait for upstream integration
This commit is contained in:
Joachim Henze 2019-10-13 22:11:43 +02:00
parent e2e90230d1
commit c722bc867e
6 changed files with 49 additions and 1 deletions

View file

@ -1756,6 +1756,8 @@ typedef BOOLEAN (*tCcCopyReadEx)(PFILE_OBJECT FileObject, PLARGE_INTEGER FileOff
#if defined(__REACTOS__) && (NTDDI_VERSION < NTDDI_VISTA)
typedef struct _ECP_LIST ECP_LIST;
typedef struct _ECP_LIST *PECP_LIST;
extern OBJECT_ATTRIBUTES system_thread_attributes;
#endif
typedef VOID (*tCcSetAdditionalCacheAttributesEx)(PFILE_OBJECT FileObject, ULONG Flags);