fs: Add .copy_super to struct fs_ops
authorMatt Fleming <matt.fleming@intel.com>
Tue, 12 Jun 2012 10:24:04 +0000 (11:24 +0100)
committerMatt Fleming <matt.fleming@intel.com>
Wed, 20 Jun 2012 13:51:09 +0000 (14:51 +0100)
commit3e7446afe578dcad987076fdd340740d2c2f53d2
tree9720cd1d7e62e97e2ee6ac291a8a7740873927b2
parent97a087ea7814db5134e4d5cd40930fa4bd20f2e0
fs: Add .copy_super to struct fs_ops

commit c0d18deeee2 ("elflink: Fix boot sector booting") makes
reference to vfat_copy_superblock() which is only implemented for
SYSLINUX, resulting in an undefined symbol when booting ISOLINUX or
PXELINUX. Move the superblock copy operation to struct fs_ops so that
we don't need to add a stub implementation of vfat_copy_superblock()
to ISOLINUX and PXELINUX.

Signed-off-by: Matt Fleming <matt.fleming@intel.com>
com32/elflink/ldlinux/chainboot.c
core/fs/fat/fat.c
core/include/fs.h