[Drbd-dev] [Patch v1 2/8] Adapt pointer backing_dev_info in struct request_queue

Nick Wang nwang at suse.com
Mon Mar 13 08:23:25 CET 2017


In dc3b17cc, struct request_queue use pointer to backing_dev_info,
so all related call should be converted.

Signed-off-by: Nick Wang <nwang at suse.com>
CC: Lars Ellenberg <lars.ellenberg at linbit.com>
CC: Roland Kammerer <roland.kammerer at linbit.com>
CC: drbd-dev at lists.linbit.com 
---
 tests/have_pointer_backing_dev_info.c | 7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100644 tests/have_pointer_backing_dev_info.c

diff --git a/tests/have_pointer_backing_dev_info.c b/tests/have_pointer_backing_dev_info.c
new file mode 100644
index 0000000..e9999ce
--- /dev/null
+++ b/tests/have_pointer_backing_dev_info.c
@@ -0,0 +1,7 @@
+#include <linux/blkdev.h>
+
+void test(void)
+{
+	struct request_queue q = {};
+	q.backing_dev_info = NULL;
+}
-- 
1.8.5.6



More information about the drbd-dev mailing list