diff options
Diffstat (limited to 'drivers/block/drbd/drbd_main.c')
-rw-r--r-- | drivers/block/drbd/drbd_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/drbd/drbd_main.c b/drivers/block/drbd/drbd_main.c index 522e103ce494..b00a8d74f6cb 100644 --- a/drivers/block/drbd/drbd_main.c +++ b/drivers/block/drbd/drbd_main.c | |||
@@ -2659,9 +2659,9 @@ static int init_submitter(struct drbd_device *device) | |||
2659 | return 0; | 2659 | return 0; |
2660 | } | 2660 | } |
2661 | 2661 | ||
2662 | enum drbd_ret_code drbd_create_device(struct drbd_connection *connection, unsigned int minor, int vnr) | 2662 | enum drbd_ret_code drbd_create_device(struct drbd_resource *resource, unsigned int minor, int vnr) |
2663 | { | 2663 | { |
2664 | struct drbd_resource *resource = connection->resource; | 2664 | struct drbd_connection *connection = first_connection(resource); |
2665 | struct drbd_device *device; | 2665 | struct drbd_device *device; |
2666 | struct drbd_peer_device *peer_device; | 2666 | struct drbd_peer_device *peer_device; |
2667 | struct gendisk *disk; | 2667 | struct gendisk *disk; |