plan9port/src/libdiskfs/vfile.c
Dan Cross fa325e9b42 Trivial changes: whitespace and modes.
Remote whitespace at the ends of lines.
Remove blank lines from the ends of files.
Change modes on source files so that they
are not executable.

Signed-off-by: Dan Cross <cross@gajendra.net>
2020-01-10 14:54:30 +00:00

33 lines
453 B
C

#include <u.h>
#include <libc.h>
#include <diskfs.h>
#include <venti.h>
extern void vtLibThread(void);
typedef struct DiskVenti DiskVenti;
struct DiskVenti
{
TvCache *c;
Entry e;
};
Disk*
diskOpenVenti(TvCache *c, uchar score[VtScoreSize])
{
vtLibThread();
fetch vtroot
fetch dir block
copy e
}
Block*
diskVentiRead(Disk *dd, u32int len, u64int offset)
{
DiskVenti *d = (DiskVenti*)dd;
make offset list
walk down blocks
return the one
}