"Fossies" - the Fresh Open Source Software Archive

Member "aoe-aoe6-86/conf/1-patches/old-new.diff" (4 Jul 2015, 544 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 -uprN a/linux/drivers/block/aoe/disk_attr.h b/linux/drivers/block/aoe/disk_attr.h
    2 --- a/linux/drivers/block/aoe/disk_attr.h   2007-01-23 13:55:47.000000000 -0500
    3 +++ b/linux/drivers/block/aoe/disk_attr.h   2007-01-23 13:55:47.000000000 -0500
    4 @@ -1,8 +1 @@
    5 -/* This struct is not defined in kernels 2.6.10 and earlier.
    6 - * It is defined here for compatibility with those kernels.
    7 - */
    8 -
    9 -struct disk_attribute {
   10 -   struct attribute attr;
   11 -   ssize_t (*show)(struct gendisk *, char *);
   12 -};
   13 +/* struct disk_attribute is defined in kernel headers */