From 86b7ff130d503d57273f9085c351316cec664ecb Mon Sep 17 00:00:00 2001 From: Paulo Alcantara Date: Sun, 25 Dec 2011 16:33:15 -0300 Subject: ldlinux: workaround for avoiding EDD error on btrfs probe When installing Syslinux in an NTFS volume and then booting it up, Syslinux will print on the screen an EDD error ocurred on btrfs probing because that volume is not actually a btrfs one. Thus, to work around that issue add ntfs_fs_ops structure just before the btrfs_fs_ops so that fs_init() function will execute the ntfs_fs_ops->fs_init() function first, and on success, btrfs_fs_ops->fs_init() won't be executed either. Signed-off-by: Paulo Alcantara --- core/ldlinux.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core') diff --git a/core/ldlinux.asm b/core/ldlinux.asm index d4c5eec4..a2f859d0 100644 --- a/core/ldlinux.asm +++ b/core/ldlinux.asm @@ -37,10 +37,10 @@ ROOT_FS_OPS: dd vfat_fs_ops extern ext2_fs_ops dd ext2_fs_ops + extern ntfs_fs_ops + dd ntfs_fs_ops extern btrfs_fs_ops dd btrfs_fs_ops - extern ntfs_fs_ops - dd ntfs_fs_ops dd 0 %include "diskfs.inc" -- cgit v1.2.1