mirror of
https://github.com/apache/nuttx.git
synced 2026-10-13 09:10:17 +00:00
fs/smartfs: Fix inverted ifdef for CONFIG_SMARTFS_USE_SECTOR_BUFFER in smartfs_extendfile()
This commit is contained in:
parent
a30ccce7ce
commit
bb7703dc8c
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue