From 7584156a40731cdc5f052fbed3984a5a94b0b5c8 Mon Sep 17 00:00:00 2001 From: Pierre Schweitzer Date: Thu, 10 Sep 2015 21:35:15 +0000 Subject: [PATCH] [FASTFAT] Move VfatInitFastIoRoutines to the INIT section svn path=/trunk/; revision=69175 --- reactos/drivers/filesystems/fastfat/fastio.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/reactos/drivers/filesystems/fastfat/fastio.c b/reactos/drivers/filesystems/fastfat/fastio.c index 8b4d2b1bf78..a1e5fe25e01 100644 --- a/reactos/drivers/filesystems/fastfat/fastio.c +++ b/reactos/drivers/filesystems/fastfat/fastio.c @@ -12,6 +12,10 @@ #define NDEBUG #include +#if defined(ALLOC_PRAGMA) +#pragma alloc_text(INIT, VfatInitFastIoRoutines) +#endif + static FAST_IO_CHECK_IF_POSSIBLE VfatFastIoCheckIfPossible; static @@ -779,6 +783,7 @@ VfatReleaseFromReadAhead( ExReleaseResourceLite(&(Fcb->MainResource)); } +INIT_SECTION VOID VfatInitFastIoRoutines( PFAST_IO_DISPATCH FastIoDispatch) -- 2.17.1