diff options
author | Andreas Gruenbacher <agruen@linbit.com> | 2011-07-08 03:19:44 +0400 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2014-02-17 19:46:47 +0400 |
commit | 6bbf53ca6269353c1d8174678b15aa4288a9cdb0 (patch) | |
tree | 0853697b0875051683d35b828e298a8e27f3293f /drivers/block/drbd/drbd_main.c | |
parent | 0500813fe0c9a617ace86d91344e36839050dad6 (diff) | |
download | linux-6bbf53ca6269353c1d8174678b15aa4288a9cdb0.tar.xz |
drbd: Move susp, susp_nod, susp_fen from connection to resource
Signed-off-by: Andreas Gruenbacher <agruen@linbit.com>
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Diffstat (limited to 'drivers/block/drbd/drbd_main.c')
-rw-r--r-- | drivers/block/drbd/drbd_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/drbd/drbd_main.c b/drivers/block/drbd/drbd_main.c index fc439605aa69..e07446e19c74 100644 --- a/drivers/block/drbd/drbd_main.c +++ b/drivers/block/drbd/drbd_main.c @@ -2534,7 +2534,7 @@ struct drbd_resource *drbd_create_resource(const char *name) { struct drbd_resource *resource; - resource = kmalloc(sizeof(struct drbd_resource), GFP_KERNEL); + resource = kzalloc(sizeof(struct drbd_resource), GFP_KERNEL); if (!resource) return NULL; resource->name = kstrdup(name, GFP_KERNEL); |