]> git.hungrycats.org Git - linux/commitdiff
o nbd: fix up headers changes, include blk.h and blkdev.h
authorArnaldo Carvalho de Melo <acme@conectiva.com.br>
Sat, 7 Dec 2002 11:56:14 +0000 (09:56 -0200)
committerArnaldo Carvalho de Melo <acme@conectiva.com.br>
Sat, 7 Dec 2002 11:56:14 +0000 (09:56 -0200)
Also fix an unbalanced #endif

drivers/block/nbd.c
include/linux/nbd.h

index 856e397d4869533495013cebb17bc6d2f5a5b354..79aa653fe0a497e66fa9db62b2b0cdcdf874bd90 100644 (file)
@@ -37,6 +37,8 @@
 #define PARANOIA
 #include <linux/major.h>
 
+#include <linux/blk.h>
+#include <linux/blkdev.h>
 #include <linux/module.h>
 #include <linux/init.h>
 #include <linux/sched.h>
index 6785f0ff61f349f1f2008df7d42418b23a0d676d..d0dae25ae2e07299a6a357df88b224d9da5e624a 100644 (file)
@@ -53,7 +53,6 @@ struct nbd_device {
        int blksize_bits;
        u64 bytesize;
 };
-#endif
 
 /* This now IS in some kind of include file... */