From d92e35924c6e61f0fc03398e3dbe38ed156b206c Mon Sep 17 00:00:00 2001 From: Eric Kohl Date: Tue, 28 May 2002 09:25:09 +0000 Subject: [PATCH] Fix to support removable media (512 bytes per sector only!). svn path=/trunk/; revision=2988 --- reactos/drivers/fs/vfat/fsctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/drivers/fs/vfat/fsctl.c b/reactos/drivers/fs/vfat/fsctl.c index 6c2a7d4d34c..60049fa89db 100644 --- a/reactos/drivers/fs/vfat/fsctl.c +++ b/reactos/drivers/fs/vfat/fsctl.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: fsctl.c,v 1.4 2002/05/23 09:53:26 ekohl Exp $ +/* $Id: fsctl.c,v 1.5 2002/05/28 09:25:09 ekohl Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -103,7 +103,7 @@ VfatHasFileSystem(PDEVICE_OBJECT DeviceToMount, *RecognizedFS = TRUE; } } - else if (DiskGeometry.MediaType > Unknown && DiskGeometry.MediaType < RemovableMedia) + else if (DiskGeometry.MediaType > Unknown && DiskGeometry.MediaType <= RemovableMedia) { *RecognizedFS = TRUE; }