Commit 8557bbe5 authored by SeongJae Park's avatar SeongJae Park Committed by Boris Ostrovsky

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: default avatarRoger Pau Monné <roger.pau@citrix.com>
Signed-off-by: default avatarSeongJae Park <sjpark@amazon.de>
Signed-off-by: default avatarBoris Ostrovsky <boris.ostrovsky@oracle.com>
parent 823f2091
...@@ -467,7 +467,6 @@ static void xenvbd_sysfs_delif(struct xenbus_device *dev) ...@@ -467,7 +467,6 @@ static void xenvbd_sysfs_delif(struct xenbus_device *dev)
device_remove_file(&dev->dev, &dev_attr_physical_device); device_remove_file(&dev->dev, &dev_attr_physical_device);
} }
static void xen_vbd_free(struct xen_vbd *vbd) static void xen_vbd_free(struct xen_vbd *vbd)
{ {
if (vbd->bdev) if (vbd->bdev)
...@@ -524,6 +523,7 @@ static int xen_vbd_create(struct xen_blkif *blkif, blkif_vdev_t handle, ...@@ -524,6 +523,7 @@ static int xen_vbd_create(struct xen_blkif *blkif, blkif_vdev_t handle,
handle, blkif->domid); handle, blkif->domid);
return 0; return 0;
} }
static int xen_blkbk_remove(struct xenbus_device *dev) static int xen_blkbk_remove(struct xenbus_device *dev)
{ {
struct backend_info *be = dev_get_drvdata(&dev->dev); 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 ...@@ -607,6 +607,7 @@ static void xen_blkbk_discard(struct xenbus_transaction xbt, struct backend_info
if (err) if (err)
dev_warn(&dev->dev, "writing feature-discard (%d)", err); dev_warn(&dev->dev, "writing feature-discard (%d)", err);
} }
int xen_blkbk_barrier(struct xenbus_transaction xbt, int xen_blkbk_barrier(struct xenbus_transaction xbt,
struct backend_info *be, int state) struct backend_info *be, int state)
{ {
...@@ -691,7 +692,6 @@ static int xen_blkbk_probe(struct xenbus_device *dev, ...@@ -691,7 +692,6 @@ static int xen_blkbk_probe(struct xenbus_device *dev,
return err; return err;
} }
/* /*
* Callback received when the hotplug scripts have placed the physical-device * Callback received when the hotplug scripts have placed the physical-device
* node. Read it and the mode node, and create a vbd. If the frontend is * 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, ...@@ -783,7 +783,6 @@ static void backend_changed(struct xenbus_watch *watch,
} }
} }
/* /*
* Callback received when the frontend's state changes. * Callback received when the frontend's state changes.
*/ */
...@@ -858,7 +857,6 @@ static void frontend_changed(struct xenbus_device *dev, ...@@ -858,7 +857,6 @@ static void frontend_changed(struct xenbus_device *dev,
} }
} }
/* Once a memory pressure is detected, squeeze free page pools for a while. */ /* Once a memory pressure is detected, squeeze free page pools for a while. */
static unsigned int buffer_squeeze_duration_ms = 10; static unsigned int buffer_squeeze_duration_ms = 10;
module_param_named(buffer_squeeze_duration_ms, module_param_named(buffer_squeeze_duration_ms,
...@@ -881,7 +879,6 @@ static void reclaim_memory(struct xenbus_device *dev) ...@@ -881,7 +879,6 @@ static void reclaim_memory(struct xenbus_device *dev)
/* ** Connection ** */ /* ** Connection ** */
/* /*
* Write the physical details regarding the block device to the store, and * Write the physical details regarding the block device to the store, and
* switch to Connected state. * switch to Connected state.
......
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