Fix BUDDY_REQS member name

parent 19e995d1
......@@ -548,19 +548,19 @@ BUDDYF(take_ptr_extent)(buddy_t *buddy, const struct buddy_ptr_extent *rs,
#define BUDDY_REQS(name, size) \
struct { \
struct i_reqalloc name_ ## i[size]; \
struct i_reqalloc name ## _i[size]; \
struct buddy_reqs name; \
}
#define BUDDY_REQS_INIT(parent, name, b) \
do { \
INIT_OBJ(&(parent)->name, BUDDY_REQS_MAGIC); \
(parent)->name.space = sizeof (parent)->name_ ## i / \
sizeof *(parent)->name_ ## i; \
(parent)->name.space = sizeof (parent)->name ## _i / \
sizeof *(parent)->name ## _i; \
(parent)->name.buddy = b; \
(parent)->name.map = (b)->map; \
(parent)->name.i_wait = BUDDY_REQS_I_WAIT_INITIALIZER; \
(parent)->name.i_reqalloc = (parent)->name_ ## i; \
(parent)->name.i_reqalloc = (parent)->name ## _i; \
BUDDY_REQS_AUDIT_INIT((parent)->name,;) \
} while (0)
......
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