shithub: lwext4

Download patch

ref: 053a3f4e32d8536287366f89a9ce23ded4d5e571
parent: c0b435d0a25f5b421f59e7790634d4b2a7ffb8b8
author: gkostka <kostka.grzegorz@gmail.com>
date: Tue Aug 16 16:43:27 EDT 2016

ext4_mkfs: little function name refactoring

--- a/src/ext4_mkfs.c
+++ b/src/ext4_mkfs.c
@@ -220,7 +220,7 @@
 
 
 /* Fill in the superblock memory buffer based on the filesystem parameters */
-static void fill_in_sb(struct fs_aux_info *aux_info, struct ext4_mkfs_info *info)
+static void fill_sb(struct fs_aux_info *aux_info, struct ext4_mkfs_info *info)
 {
 	struct ext4_sblock *sb = aux_info->sb;
 
@@ -485,7 +485,7 @@
 	return r;
 }
 
-static int mkfs_initial(struct ext4_blockdev *bd, struct ext4_mkfs_info *info)
+static int mkfs_init(struct ext4_blockdev *bd, struct ext4_mkfs_info *info)
 {
 	int r;
 	struct fs_aux_info aux_info;
@@ -495,7 +495,7 @@
 	if (r != EOK)
 		goto Finish;
 
-	fill_in_sb(&aux_info, info);
+	fill_sb(&aux_info, info);
 
 	r = write_bgroups(bd, &aux_info, info);
 	if (r != EOK)
@@ -739,7 +739,7 @@
 	if (r != EOK)
 		goto cache_fini;
 
-	r = mkfs_initial(bd, info);
+	r = mkfs_init(bd, info);
 	if (r != EOK)
 		goto cache_fini;