提交 1d273b92 编写于 作者: J Joe Perches 提交者: Jiri Kosina

drbd: Use angle brackets for system includes

Use the normal include style.
Signed-off-by: NJoe Perches <joe@perches.com>
Signed-off-by: NJiri Kosina <jkosina@suse.cz>
上级 3dbd4439
...@@ -928,7 +928,7 @@ struct drbd_md { ...@@ -928,7 +928,7 @@ struct drbd_md {
#define NL_INT64(pn,pr,member) __u64 member; #define NL_INT64(pn,pr,member) __u64 member;
#define NL_BIT(pn,pr,member) unsigned member:1; #define NL_BIT(pn,pr,member) unsigned member:1;
#define NL_STRING(pn,pr,member,len) unsigned char member[len]; int member ## _len; #define NL_STRING(pn,pr,member,len) unsigned char member[len]; int member ## _len;
#include "linux/drbd_nl.h" #include <linux/drbd_nl.h>
struct drbd_backing_dev { struct drbd_backing_dev {
struct block_device *backing_bdev; struct block_device *backing_bdev;
......
...@@ -94,7 +94,7 @@ static int name ## _from_tags(struct drbd_conf *mdev, \ ...@@ -94,7 +94,7 @@ static int name ## _from_tags(struct drbd_conf *mdev, \
arg->member ## _len = dlen; \ arg->member ## _len = dlen; \
memcpy(arg->member, tags, min_t(size_t, dlen, len)); \ memcpy(arg->member, tags, min_t(size_t, dlen, len)); \
break; break;
#include "linux/drbd_nl.h" #include <linux/drbd_nl.h>
/* Generate the struct to tag_list functions */ /* Generate the struct to tag_list functions */
#define NL_PACKET(name, number, fields) \ #define NL_PACKET(name, number, fields) \
...@@ -129,7 +129,7 @@ name ## _to_tags(struct drbd_conf *mdev, \ ...@@ -129,7 +129,7 @@ name ## _to_tags(struct drbd_conf *mdev, \
put_unaligned(arg->member ## _len, tags++); \ put_unaligned(arg->member ## _len, tags++); \
memcpy(tags, arg->member, arg->member ## _len); \ memcpy(tags, arg->member, arg->member ## _len); \
tags = (unsigned short *)((char *)tags + arg->member ## _len); tags = (unsigned short *)((char *)tags + arg->member ## _len);
#include "linux/drbd_nl.h" #include <linux/drbd_nl.h>
void drbd_bcast_ev_helper(struct drbd_conf *mdev, char *helper_name); void drbd_bcast_ev_helper(struct drbd_conf *mdev, char *helper_name);
void drbd_nl_send_reply(struct cn_msg *, int); void drbd_nl_send_reply(struct cn_msg *, int);
......
...@@ -28,7 +28,7 @@ enum packet_types { ...@@ -28,7 +28,7 @@ enum packet_types {
#define NL_STRING(pn, pr, member, len) \ #define NL_STRING(pn, pr, member, len) \
unsigned char member[len]; int member ## _len; \ unsigned char member[len]; int member ## _len; \
int tag_and_len ## member; int tag_and_len ## member;
#include "linux/drbd_nl.h" #include <linux/drbd_nl.h>
/* declare tag-list-sizes */ /* declare tag-list-sizes */
static const int tag_list_sizes[] = { static const int tag_list_sizes[] = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册