lkml.org 
[lkml]   [2002]   [Dec]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Date
    Subject[PATCH] nbd.[ch] is broken by MAJOR_NR removal
    nbd.h now does not include blk.h, so nbd.c needs to include it.  In
    nbd.h an ifdef was removed without removing the closing endif. Patch
    is against bk-latest.

    --- linus-2.5/drivers/block/nbd.c.orig Fri Dec 6 11:56:52 2002
    +++ linus-2.5/drivers/block/nbd.c Fri Dec 6 15:48:55 2002
    @@ -54,6 +54,7 @@
    #include <asm/types.h>

    #include <linux/nbd.h>
    +#include <linux/blk.h>

    #define LO_MAGIC 0x68797548

    --- linus-2.5/include/linux/nbd.h.orig Fri Dec 6 11:56:52 2002
    +++ linus-2.5/include/linux/nbd.h Fri Dec 6 16:11:40 2002
    @@ -53,7 +53,6 @@
    int blksize_bits;
    u64 bytesize;
    };
    -#endif

    /* This now IS in some kind of include file... */

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:31    [W:0.064 / U:61.100 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site