ldlinux: workaround for avoiding EDD error on btrfs probe
commit86b7ff130d503d57273f9085c351316cec664ecb
authorPaulo Alcantara <pcacjr@gmail.com>
Sun, 25 Dec 2011 19:33:15 +0000 (25 16:33 -0300)
committerPaulo Alcantara <pcacjr@gmail.com>
Sat, 11 Feb 2012 19:06:07 +0000 (11 16:06 -0300)
treeba14c08f42a5bb179840d55705b3c3ad12ada4f7
parent6abb4eb7ca8de9de2c6e5048ce45c779d5953819
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>
core/ldlinux.asm