fs/smartfs: Fix inverted ifdef for CONFIG_SMARTFS_USE_SECTOR_BUFFER in smartfs_extendfile()
This commit is contained in:
parent
a30ccce7ce
commit
bb7703dc8c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user