tAdd some comments - dedup - deduplicating backup program
(HTM) git clone git://git.z3bra.org/dedup.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit cc34761d0d55ea6c036421cf4fee677ccbe657a4
(DIR) parent 6699070ee14aa0fc3a48c52e0a146f6946e39ce5
(HTM) Author: sin <sin@2f30.org>
Date: Fri, 26 Apr 2019 11:22:11 +0100
Add some comments
Diffstat:
M bstorage.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/bstorage.c b/bstorage.c
t@@ -413,7 +413,7 @@ bsopen(struct bctx *bctx, char *path, int flags, int mode, struct bparam *bpar)
return -1;
}
- /* Populate bparam */
+ /* Populate bparam compression algo */
calgo = (bhdr->flags >> CALGOSHIFT) & CALGOMASK;
switch (calgo) {
case CNONETYPE:
t@@ -428,6 +428,7 @@ bsopen(struct bctx *bctx, char *path, int flags, int mode, struct bparam *bpar)
return -1;
}
+ /* Populate bparam hash algo */
halgo = (bhdr->flags >> HALGOSHIFT) & HALGOMASK;
switch (halgo) {
case HBLAKE2BTYPE: