diff mbox series

fs: relax ext4_write_file() dependency

Message ID 845fdc163529638fcd2c16ef084a075c61fadc76.1715747836.git.baruch@tkos.co.il
State Accepted
Commit 6068abe33fff28ba50a0f68eabc5d9eb31b7045d
Delegated to: Tom Rini
Headers show
Series fs: relax ext4_write_file() dependency | expand

Commit Message

Baruch Siach May 15, 2024, 4:37 a.m. UTC
ext4_write_file() depends on CONFIG_EXT4_WRITE. Allow build without
CONFIG_CMD_EXT4_WRITE.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
 fs/fs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Tom Rini June 10, 2024, 4:51 p.m. UTC | #1
On Wed, 15 May 2024 07:37:16 +0300, Baruch Siach wrote:

> ext4_write_file() depends on CONFIG_EXT4_WRITE. Allow build without
> CONFIG_CMD_EXT4_WRITE.
> 
> 

Applied to u-boot/next, thanks!
diff mbox series

Patch

diff --git a/fs/fs.c b/fs/fs.c
index bed1f7242f41..0c47943f3339 100644
--- a/fs/fs.c
+++ b/fs/fs.c
@@ -224,7 +224,7 @@  static struct fstype_info fstypes[] = {
 		.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