fs/smartfs: Fix inverted ifdef for CONFIG_SMARTFS_USE_SECTOR_BUFFER in smartfs_extendfile()

This commit is contained in:
Jussi Kivilinna 2018-01-16 07:17:35 -06:00 committed by Gregory Nutt
parent a30ccce7ce
commit bb7703dc8c

View File

@ -2072,7 +2072,7 @@ int smartfs_extendfile(FAR struct smartfs_mountpt_s *fs,
ret = OK;
errout_with_buffer:
#ifdef CONFIG_SMARTFS_USE_SECTOR_BUFFER
#ifndef CONFIG_SMARTFS_USE_SECTOR_BUFFER
/* Release the allocated buffer */
kmm_free(buffer);