|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] linux: Use hard tabs and Linux coding sty
# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1172088236 0
# Node ID 4e50678c364c779bfa3972d30952acd0d9c7a655
# Parent b010e556fe2c1e7cf73d3f279113ba1f4eac6a11
linux: Use hard tabs and Linux coding style.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
linux-2.6-xen-sparse/drivers/xen/blkback/blkback.c | 9 ++++-----
linux-2.6-xen-sparse/drivers/xen/blkback/common.h | 4 ++--
linux-2.6-xen-sparse/drivers/xen/blktap/blktap.c | 5 ++---
3 files changed, 8 insertions(+), 10 deletions(-)
diff -r b010e556fe2c -r 4e50678c364c
linux-2.6-xen-sparse/drivers/xen/blkback/blkback.c
--- a/linux-2.6-xen-sparse/drivers/xen/blkback/blkback.c Wed Feb 21
19:58:58 2007 +0000
+++ b/linux-2.6-xen-sparse/drivers/xen/blkback/blkback.c Wed Feb 21
20:03:56 2007 +0000
@@ -491,11 +491,10 @@ static void dispatch_rw_block_io(blkif_t
for (i = 0; i < nbio; i++)
submit_bio(operation, biolist[i]);
- if (operation == READ) {
- blkif->st_rd_sect += preq.nr_sects;
- } else if (operation == WRITE) {
- blkif->st_wr_sect += preq.nr_sects;
- }
+ if (operation == READ)
+ blkif->st_rd_sect += preq.nr_sects;
+ else if (operation == WRITE)
+ blkif->st_wr_sect += preq.nr_sects;
return;
diff -r b010e556fe2c -r 4e50678c364c
linux-2.6-xen-sparse/drivers/xen/blkback/common.h
--- a/linux-2.6-xen-sparse/drivers/xen/blkback/common.h Wed Feb 21 19:58:58
2007 +0000
+++ b/linux-2.6-xen-sparse/drivers/xen/blkback/common.h Wed Feb 21 20:03:56
2007 +0000
@@ -88,8 +88,8 @@ typedef struct blkif_st {
int st_wr_req;
int st_oo_req;
int st_br_req;
- int st_rd_sect;
- int st_wr_sect;
+ int st_rd_sect;
+ int st_wr_sect;
wait_queue_head_t waiting_to_free;
diff -r b010e556fe2c -r 4e50678c364c
linux-2.6-xen-sparse/drivers/xen/blktap/blktap.c
--- a/linux-2.6-xen-sparse/drivers/xen/blktap/blktap.c Wed Feb 21 19:58:58
2007 +0000
+++ b/linux-2.6-xen-sparse/drivers/xen/blktap/blktap.c Wed Feb 21 20:03:56
2007 +0000
@@ -1407,11 +1407,10 @@ static void dispatch_rw_block_io(blkif_t
wmb(); /* blktap_poll() reads req_prod_pvt asynchronously */
info->ufe_ring.req_prod_pvt++;
- if (operation == READ) {
+ if (operation == READ)
blkif->st_rd_sect += nr_sects;
- } else if (operation == WRITE) {
+ else if (operation == WRITE)
blkif->st_wr_sect += nr_sects;
- }
return;
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] linux: Use hard tabs and Linux coding style.,
Xen patchbot-unstable <=
|
|
|
|
|