aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaulo Alcantara <pcacjr@gmail.com>2011-12-25 16:33:15 -0300
committerPaulo Alcantara <pcacjr@gmail.com>2012-02-11 16:06:07 -0300
commit86b7ff130d503d57273f9085c351316cec664ecb (patch)
treeba14c08f42a5bb179840d55705b3c3ad12ada4f7
parent6abb4eb7ca8de9de2c6e5048ce45c779d5953819 (diff)
downloadsyslinux-86b7ff130d503d57273f9085c351316cec664ecb.tar.gz
syslinux-86b7ff130d503d57273f9085c351316cec664ecb.tar.xz
syslinux-86b7ff130d503d57273f9085c351316cec664ecb.zip
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 <pcacjr@gmail.com>
-rw-r--r--core/ldlinux.asm4
1 files changed, 2 insertions, 2 deletions
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"