Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 373489 | Differences between
and this patch

Collapse All | Expand All

(-)root.c.old (-2 / +2 lines)
Lines 599-605 Link Here
599
#else
599
#else
600
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,18)
600
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,18)
601
static int cdfs_get_sb(struct file_system_type *fs_type, int flags, const char *dev_name, void *data, struct vfsmount *mnt) {
601
static int cdfs_get_sb(struct file_system_type *fs_type, int flags, const char *dev_name, void *data, struct vfsmount *mnt) {
602
  return get_sb_bdev(fs_type, flags, dev_name, data, cdfs_fill_super, mnt);
602
  return mount_bdev(fs_type, flags, dev_name, data, cdfs_fill_super);
603
#else
603
#else
604
static struct super_block *cdfs_get_sb(struct file_system_type *fs_type, int flags, const char *dev_name, void *data) {
604
static struct super_block *cdfs_get_sb(struct file_system_type *fs_type, int flags, const char *dev_name, void *data) {
605
  return get_sb_bdev(fs_type, flags, dev_name, data, cdfs_fill_super);
605
  return get_sb_bdev(fs_type, flags, dev_name, data, cdfs_fill_super);
Lines 609-615 Link Here
609
static struct file_system_type cdfs_fs_type = {
609
static struct file_system_type cdfs_fs_type = {
610
  .owner    = THIS_MODULE,
610
  .owner    = THIS_MODULE,
611
  .name     = "cdfs",
611
  .name     = "cdfs",
612
  .get_sb   = cdfs_get_sb,
612
  .mount   = cdfs_get_sb,
613
  .kill_sb  = kill_block_super,
613
  .kill_sb  = kill_block_super,
614
  .fs_flags = FS_REQUIRES_DEV
614
  .fs_flags = FS_REQUIRES_DEV
615
};
615
};

Return to bug 373489