[syslinux] [PATCH 2/4] extlinux: rename ext2_fat_install_file
Nicolas Cornu
nicolac76 at yahoo.fr
Fri Nov 13 12:19:51 PST 2015
Rename from ext2_fat_install_file to ext_common_install_file as it is
use for ext, vfat, ntfs and ufs.
Signed-off-by: Nicolas Cornu <nicolac76 at yahoo.fr>
---
extlinux/main.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/extlinux/main.c b/extlinux/main.c
index 5bab712..c446c75 100644
--- a/extlinux/main.c
+++ b/extlinux/main.c
@@ -595,7 +595,7 @@ static int ext_install_ldlinux_c32(const char *path)
return rv;
}
-int ext2_fat_install_file(const char *path, int devfd, struct stat *rst)
+int ext_common_install_file(const char *path, int devfd, struct stat *rst)
{
char *file, *oldfile;
int fd = -1, dirfd = -1;
@@ -1007,7 +1007,7 @@ static int install_file(const char *path, int devfd, struct stat *rst)
{
if (fs_type == EXT2 || fs_type == VFAT || fs_type == NTFS
|| fs_type == UFS1 || fs_type == UFS2)
- return ext2_fat_install_file(path, devfd, rst);
+ return ext_common_install_file(path, devfd, rst);
else if (fs_type == BTRFS)
return btrfs_install_file(path, devfd, rst);
else if (fs_type == XFS)
--
2.6.2
More information about the Syslinux
mailing list