commit | aacc5c5efc04464695f34b9453ff6ca4fe271efb | [log] [tgz] |
---|---|---|
author | Baruch Siach <baruch@tkos.co.il> | Wed May 15 07:37:16 2024 +0300 |
committer | Tom Rini <trini@konsulko.com> | Fri Jun 07 16:20:27 2024 -0600 |
tree | 2c5d7ff694776d538e9f7411c755f5da7c28d3c5 | |
parent | 550b6de3931304fd2b673bb555bc4f9ccf32ef06 [diff] |
fs: relax ext4_write_file() dependency ext4_write_file() depends on CONFIG_EXT4_WRITE. Allow build without CONFIG_CMD_EXT4_WRITE. Signed-off-by: Baruch Siach <baruch@tkos.co.il>
diff --git a/fs/fs.c b/fs/fs.c index bed1f72..0c47943 100644 --- a/fs/fs.c +++ b/fs/fs.c
@@ -224,7 +224,7 @@ .exists = ext4fs_exists, .size = ext4fs_size, .read = ext4_read_file, -#ifdef CONFIG_CMD_EXT4_WRITE +#ifdef CONFIG_EXT4_WRITE .write = ext4_write_file, .ln = ext4fs_create_link, #else