"Fossies" - the Fresh Open Source Software Archive

Member "aoe-aoe6-86/conf/21-patches/dev-dtd.diff" (4 Jul 2015, 658 Bytes) of archive /linux/misc/aoe-aoe6-86.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Diff source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 diff -upr dev/linux/drivers/block/aoe/aoeblk.c dtd/linux/drivers/block/aoe/aoeblk.c
    2 --- dev/linux/drivers/block/aoe/aoeblk.c    2013-06-22 15:45:14.000000000 -0400
    3 +++ dtd/linux/drivers/block/aoe/aoeblk.c    2013-06-19 01:27:11.000000000 -0400
    4 @@ -232,12 +232,12 @@ aoedisk_rm_debugfs(struct aoedev *d)
    5  static int
    6  aoedisk_add_sysfs(struct aoedev *d)
    7  {
    8 -   return sysfs_create_group(&d->gd->dev.kobj, &attr_group);
    9 +   return sysfs_create_group(&disk_to_dev(d->gd)->kobj, &attr_group);
   10  }
   11  void
   12  aoedisk_rm_sysfs(struct aoedev *d)
   13  {
   14 -   sysfs_remove_group(&d->gd->dev.kobj, &attr_group);
   15 +   sysfs_remove_group(&disk_to_dev(d->gd)->kobj, &attr_group);
   16  }
   17  
   18  static int