o nbd: fix up headers changes, include blk.h and blkdev.h

Also fix an unbalanced #endif
parent 45da2aac
...@@ -37,6 +37,8 @@ ...@@ -37,6 +37,8 @@
#define PARANOIA #define PARANOIA
#include <linux/major.h> #include <linux/major.h>
#include <linux/blk.h>
#include <linux/blkdev.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/sched.h> #include <linux/sched.h>
......
...@@ -53,7 +53,6 @@ struct nbd_device { ...@@ -53,7 +53,6 @@ struct nbd_device {
int blksize_bits; int blksize_bits;
u64 bytesize; u64 bytesize;
}; };
#endif
/* This now IS in some kind of include file... */ /* This now IS in some kind of include file... */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment