Skip to content

Commit 8557bbe

Browse files
sj-awsbostrovs
authored andcommitted
xen/blkback: Consistently insert one empty line between functions
The number of empty lines between functions in the xenbus.c is inconsistent. This trivial style cleanup commit fixes the file to consistently place only one empty line. Acked-by: Roger Pau Monné <[email protected]> Signed-off-by: SeongJae Park <[email protected]> Signed-off-by: Boris Ostrovsky <[email protected]>
1 parent 823f209 commit 8557bbe

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

drivers/block/xen-blkback/xenbus.c

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,6 @@ static void xenvbd_sysfs_delif(struct xenbus_device *dev)
467467
device_remove_file(&dev->dev, &dev_attr_physical_device);
468468
}
469469

470-
471470
static void xen_vbd_free(struct xen_vbd *vbd)
472471
{
473472
if (vbd->bdev)
@@ -524,6 +523,7 @@ static int xen_vbd_create(struct xen_blkif *blkif, blkif_vdev_t handle,
524523
handle, blkif->domid);
525524
return 0;
526525
}
526+
527527
static int xen_blkbk_remove(struct xenbus_device *dev)
528528
{
529529
struct backend_info *be = dev_get_drvdata(&dev->dev);
@@ -607,6 +607,7 @@ static void xen_blkbk_discard(struct xenbus_transaction xbt, struct backend_info
607607
if (err)
608608
dev_warn(&dev->dev, "writing feature-discard (%d)", err);
609609
}
610+
610611
int xen_blkbk_barrier(struct xenbus_transaction xbt,
611612
struct backend_info *be, int state)
612613
{
@@ -691,7 +692,6 @@ static int xen_blkbk_probe(struct xenbus_device *dev,
691692
return err;
692693
}
693694

694-
695695
/*
696696
* Callback received when the hotplug scripts have placed the physical-device
697697
* node. Read it and the mode node, and create a vbd. If the frontend is
@@ -783,7 +783,6 @@ static void backend_changed(struct xenbus_watch *watch,
783783
}
784784
}
785785

786-
787786
/*
788787
* Callback received when the frontend's state changes.
789788
*/
@@ -858,7 +857,6 @@ static void frontend_changed(struct xenbus_device *dev,
858857
}
859858
}
860859

861-
862860
/* Once a memory pressure is detected, squeeze free page pools for a while. */
863861
static unsigned int buffer_squeeze_duration_ms = 10;
864862
module_param_named(buffer_squeeze_duration_ms,
@@ -881,7 +879,6 @@ static void reclaim_memory(struct xenbus_device *dev)
881879

882880
/* ** Connection ** */
883881

884-
885882
/*
886883
* Write the physical details regarding the block device to the store, and
887884
* switch to Connected state.

0 commit comments

Comments
 (0)