summaryrefslogtreecommitdiff
path: root/include/ext4_config.h
diff options
context:
space:
mode:
authorgkostka <kostka.grzegorz@gmail.com>2017-02-17 00:54:06 +0100
committergkostka <kostka.grzegorz@gmail.com>2017-02-17 00:54:06 +0100
commit406d9c3c653b53f4202f0de3f9b3e8a0a1eec70c (patch)
tree199dbea7d56001d3e6cf297d77204e2f31b65789 /include/ext4_config.h
parentec5adbc6757768592da6917a07f6bc1c588ad2f8 (diff)
ext4: add block device unregister by name & all methods
Diffstat (limited to 'include/ext4_config.h')
-rw-r--r--include/ext4_config.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/ext4_config.h b/include/ext4_config.h
index f42b6fc..8b8c6d8 100644
--- a/include/ext4_config.h
+++ b/include/ext4_config.h
@@ -123,11 +123,23 @@ extern "C" {
#define CONFIG_BLOCK_DEV_CACHE_SIZE 8
#endif
+
+/**@brief Maximum block device name*/
+#ifndef CONFIG_EXT4_MAX_BLOCKDEV_NAME
+#define CONFIG_EXT4_MAX_BLOCKDEV_NAME 32
+#endif
+
+
/**@brief Maximum block device count*/
#ifndef CONFIG_EXT4_BLOCKDEVS_COUNT
#define CONFIG_EXT4_BLOCKDEVS_COUNT 2
#endif
+/**@brief Maximum mountpoint name*/
+#ifndef CONFIG_EXT4_MAX_MP_NAME
+#define CONFIG_EXT4_MAX_MP_NAME 32
+#endif
+
/**@brief Maximum mountpoint count*/
#ifndef CONFIG_EXT4_MOUNTPOINTS_COUNT
#define CONFIG_EXT4_MOUNTPOINTS_COUNT 2