configs/sim/spiffs/defconfig: Remove CONFIG_EXPERIMENTAL.

This commit is contained in:
Gregory Nutt 2018-09-28 20:05:42 -06:00
parent 6a12213fbb
commit 5fad655982
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ CONFIG_DISABLE_PTHREAD=y
CONFIG_DISABLE_SIGNALS=y CONFIG_DISABLE_SIGNALS=y
CONFIG_EXAMPLES_FSTEST=y CONFIG_EXAMPLES_FSTEST=y
CONFIG_EXAMPLES_FSTEST_MOUNTPT="/mnt/spiffs" CONFIG_EXAMPLES_FSTEST_MOUNTPT="/mnt/spiffs"
CONFIG_EXPERIMENTAL=y CONFIG_EXAMPLES_FSTEST_NLOOPS=10
CONFIG_FS_SPIFFS=y CONFIG_FS_SPIFFS=y
CONFIG_IDLETHREAD_STACKSIZE=4096 CONFIG_IDLETHREAD_STACKSIZE=4096
CONFIG_LIB_RAND_ORDER=3 CONFIG_LIB_RAND_ORDER=3

View File

@ -407,7 +407,7 @@ static int spiffs_open(FAR struct file *filep, FAR const char *relpath,
{ {
/* It does not exist and we were not asked to create it */ /* It does not exist and we were not asked to create it */
fwarn("WARNING: File does not exist a O_CREAT not set\n"); fwarn("WARNING: File does not exist and O_CREAT not set\n");
goto errout_with_fileobject; goto errout_with_fileobject;
} }
else if (ret >= 0 && (oflags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL)) else if (ret >= 0 && (oflags & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL))