Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Sep 2021 22:26:20 GMT
From:      Colin Percival <cperciva@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 5a01dea7e8c9 - main - style: Fix leading whitespace in bcache.c
Message-ID:  <202109192226.18JMQKbU061692@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by cperciva:

URL: https://cgit.FreeBSD.org/src/commit/?id=5a01dea7e8c9640605e5731a9fc7f600c07ace61

commit 5a01dea7e8c9640605e5731a9fc7f600c07ace61
Author:     Colin Percival <cperciva@FreeBSD.org>
AuthorDate: 2021-09-19 22:24:00 +0000
Commit:     Colin Percival <cperciva@FreeBSD.org>
CommitDate: 2021-09-19 22:24:00 +0000

    style: Fix leading whitespace in bcache.c
    
    MFC after:      2 weeks
    X-MFC-with:     Further bcache changes to come
---
 stand/common/bcache.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/stand/common/bcache.c b/stand/common/bcache.c
index 526f9fe3fa5c..0eeb7e74ee96 100644
--- a/stand/common/bcache.c
+++ b/stand/common/bcache.c
@@ -246,12 +246,12 @@ read_strategy(void *devdata, int rw, daddr_t blk, size_t size,
 	}
     }
 
-   if (complete) {	/* whole set was in cache, return it */
+    if (complete) {	/* whole set was in cache, return it */
 	if (bc->ra < BCACHE_READAHEAD)
 		bc->ra <<= 1;	/* increase read ahead */
 	bcopy(bc->bcache_data + (bcache_blksize * BHASH(bc, blk)), buf, size);
 	goto done;
-   }
+    }
 
     /*
      * Fill in any misses. From check we have i pointing to first missing
@@ -351,7 +351,7 @@ read_strategy(void *devdata, int rw, daddr_t blk, size_t size,
 	result = 0;
     }
 
- done:
+done:
     if (result == 0) {
         if (rsize != NULL)
 	    *rsize = size;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109192226.18JMQKbU061692>