linux: Use hard tabs and Linux coding style.

Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
kfraser@localhost.localdomain committed 2007-02-21 20:03:56 +00:00
1 parent fffb99beab
commit eac290c978
3 files changed
+8 -10

No files matched your search

@@ -491,11 +491,10 @@ static void dispatch_rw_block_io(blkif_t *blkif,
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;
@@ -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;
@@ -1407,11 +1407,10 @@ static void dispatch_rw_block_io(blkif_t *blkif,
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;
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.