summaryrefslogtreecommitdiffstats
path: root/src/kernel/blk.h
diff options
context:
space:
mode:
authorJohann Latocha2012-02-10 23:47:32 +0100
committerJohann Latocha2012-02-10 23:47:32 +0100
commit79bb581eb0373c717d1ce95e817fd7411b07ff92 (patch)
tree79309d8030bec24bd80c7b534dc026f1ebf488c8 /src/kernel/blk.h
parent[CLIENT] Get host by name (diff)
downloaddnbd3-79bb581eb0373c717d1ce95e817fd7411b07ff92.tar.gz
dnbd3-79bb581eb0373c717d1ce95e817fd7411b07ff92.tar.xz
dnbd3-79bb581eb0373c717d1ce95e817fd7411b07ff92.zip
[SERVER] Config reload fixed
Diffstat (limited to 'src/kernel/blk.h')
-rw-r--r--src/kernel/blk.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/kernel/blk.h b/src/kernel/blk.h
index bf5ad80..57d9bfa 100644
--- a/src/kernel/blk.h
+++ b/src/kernel/blk.h
@@ -23,6 +23,12 @@
#include "dnbd3.h"
+enum
+{
+ REQ_GET_SERVERS = 1,
+ REQ_GET_FILESIZE = 2,
+};
+
extern struct block_device_operations dnbd3_blk_ops;
int dnbd3_blk_ioctl(struct block_device *bdev, fmode_t mode, unsigned int cmd, unsigned long arg);