fs: fix ext4 write() conditional assignment

The Kconfig for the ext4 filesystem has a dedicated option to enable
write support documented in doc/README.ext4:

> First, to enable support for both ext4 (and, automatically, ext2 as well),
> but without selecting the corresponding commands, enable one of the following:

>  CONFIG_FS_EXT4        (for read-only)
>  CONFIG_EXT4_WRITE     (for read-write)

Currently, ext4 write is only enabled if we select  CONFIG_*CMD*_EXT4,
which is wrong.

Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
diff --git a/fs/fs.c b/fs/fs.c
index d8a4ced..b8b8f3e 100644
--- a/fs/fs.c
+++ b/fs/fs.c
@@ -204,7 +204,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