summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAlexander Viro <viro@math.psu.edu>2002-09-21 02:51:50 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2002-09-21 02:51:50 -0700
commit0d608510754312924d50cdfdd36215de80ae1b1e (patch)
tree54eb7d882faaf1afc67ff3f32948f968234fc985 /include/linux
parente873005db4c4289c6a8a13300464ffcd9b19a3cf (diff)
[PATCH] gendisk for nbd
nbd switched to use of gendisk
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/nbd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nbd.h b/include/linux/nbd.h
index d2e9309f1a76..8e4b8c236e8b 100644
--- a/include/linux/nbd.h
+++ b/include/linux/nbd.h
@@ -79,6 +79,7 @@ struct nbd_device {
spinlock_t queue_lock;
struct list_head queue_head; /* Requests are added here... */
struct semaphore tx_lock;
+ struct gendisk disk;
};
#endif