commit d68ea46d747443f91d963fce511b5fbf46ad11aa
parent 2370f812d96bdcae0484b0f4f3041e4d1ab0d07d
Author: sin <sin@2f30.org>
Date: Tue, 7 May 2019 21:06:12 +0100
Update comment
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/bstorage.c b/bstorage.c
@@ -105,7 +105,7 @@ struct sctx {
SLIST_HEAD(gchead, bd) gchead; /* list of all blocks with a zero refcount */
int fd; /* underlying storage file descriptor */
int rdonly; /* when set to 1, the bssync() operation is a no-op */
- struct bhdr bhdr; /* block header entry */
+ struct bhdr bhdr; /* block header */
};
static int
diff --git a/snap.c b/snap.c
@@ -54,7 +54,7 @@ struct sctx {
struct mdnode *mdnext; /* next hash to be returned via sget() */
int fd; /* underlying snapshot file descriptor */
int rdonly; /* when set to 1, the ssync() operation is a no-op */
- struct shdr shdr;
+ struct shdr shdr; /* snapshot header */
};
static char errbuf[NERRBUF];