From fb2988042e31d75a3d2cae2a5d5bb3994626b04f Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 15 Nov 2013 07:21:52 -0600 Subject: [PATCH] FS mount logic: Fix error in conditional compilation. Reported by Daniel Palmer --- ChangeLog | 3 +++ fs/fs_mount.c | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6f8f4cf7b5..929c311e90 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6052,4 +6052,7 @@ forthcoming USB host controller driver (2013-11-14). * arch/arm/src/lpc31/lpc31_ehci.c: First cut at an EHCI driver tailed for the LPC31 (2013-11-14). + * fs/fs_mount.c: SMART FS must be included in the conditional + compilation for the set of file systems that require block + drivers. From Daniel Palmer (2013-11-15). diff --git a/fs/fs_mount.c b/fs/fs_mount.c index 6fff3e6896..d1ffba62ce 100644 --- a/fs/fs_mount.c +++ b/fs/fs_mount.c @@ -68,7 +68,8 @@ * These file systems all require block drivers: */ -#if defined(CONFIG_FS_FAT) || defined(CONFIG_FS_ROMFS) +#if defined(CONFIG_FS_FAT) || defined(CONFIG_FS_ROMFS) || \ + defined(CONFIG_FS_SMARTFS) # define BDFS_SUPPORT 1 #endif