git: 5a01dea7e8c9 - main - style: Fix leading whitespace in bcache.c
Colin Percival
cperciva at FreeBSD.org
Sun Sep 19 22:26:21 UTC 2021
The branch main has been updated by cperciva:
URL: https://cgit.FreeBSD.org/src/commit/?id=5a01dea7e8c9640605e5731a9fc7f600c07ace61
commit 5a01dea7e8c9640605e5731a9fc7f600c07ace61
Author: Colin Percival <cperciva at FreeBSD.org>
AuthorDate: 2021-09-19 22:24:00 +0000
Commit: Colin Percival <cperciva at 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;
More information about the dev-commits-src-all
mailing list