btrfs_set_cwd();
}
-/* Load the config file, return 1 if failed, or 0 */
-static int btrfs_load_config(void)
-{
- char *config_name = "extlinux.conf";/* use same config name as ext2 too? */
- com32sys_t regs;
-
- strcpy(ConfigName, config_name);
-
- memset(®s, 0, sizeof regs);
- regs.edi.w[0] = OFFS_WRT(ConfigName, 0);
- call16(core_open, ®s, ®s);
-
- return !!(regs.eflags.l & EFLAGS_ZF);
-}
-
static uint32_t btrfs_getfssec(struct file *gfile, char *buf, int sectors,
bool *have_more)
{
.close_file = btrfs_close_file,
.mangle_name = generic_mangle_name,
.unmangle_name = generic_unmangle_name,
- .load_config = btrfs_load_config
+ .load_config = generic_load_config
};