aboutsummaryrefslogtreecommitdiff
path: root/src/libdiskfs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libdiskfs')
-rw-r--r--src/libdiskfs/cache.c2
-rw-r--r--src/libdiskfs/ffs.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/libdiskfs/cache.c b/src/libdiskfs/cache.c
index f1af6f1b..7b06fa4f 100644
--- a/src/libdiskfs/cache.c
+++ b/src/libdiskfs/cache.c
@@ -5,7 +5,7 @@
/*
* Disk cache. Caches by offset, so higher levels have
* to deal with alignment issues (if we get asked for the
- * blocks at offsets 0 and 1, we'll do two reads.
+ * blocks at offsets 0 and 1, we'll do two reads).
*/
typedef struct DiskCache DiskCache;
diff --git a/src/libdiskfs/ffs.c b/src/libdiskfs/ffs.c
index 7864c719..9607cfbe 100644
--- a/src/libdiskfs/ffs.c
+++ b/src/libdiskfs/ffs.c
@@ -46,6 +46,7 @@ fsysopenffs(Disk *disk)
fsys->_readfile = ffsreadfile;
fsys->_readlink = ffsreadlink;
fsys->_readdir = ffsreaddir;
+ fsys->_close = ffsclose;
fsys->fileblock = ffsxfileblock;
if(ffssync(fsys) < 0)