diff options
| author | svn2git <svn2git@FreeBSD.org> | 1994-05-01 08:00:00 +0000 |
|---|---|---|
| committer | svn2git <svn2git@FreeBSD.org> | 1994-05-01 08:00:00 +0000 |
| commit | a16f65c7d117419bd266c28a1901ef129a337569 (patch) | |
| tree | 2626602f66dc3551e7a7c7bc9ad763c3bc7ab40a /sys/pcfs/pcfs_fat.c | |
| parent | 8503f4f13f77abf7adc8f7e329c6f9c1d52b6a20 (diff) | |
Release FreeBSD 1.1upstream/1.1.0_cvsrelease/1.1.0_cvs
This commit was manufactured to restore the state of the 1.1-RELEASE image.
Releases prior to 5.3-RELEASE are omitting the secure/ and crypto/ subdirs.
Diffstat (limited to 'sys/pcfs/pcfs_fat.c')
| -rw-r--r-- | sys/pcfs/pcfs_fat.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/pcfs/pcfs_fat.c b/sys/pcfs/pcfs_fat.c index 71771a6490a8..3e66739e2618 100644 --- a/sys/pcfs/pcfs_fat.c +++ b/sys/pcfs/pcfs_fat.c @@ -15,7 +15,7 @@ * * October 1992 * - * $Id: pcfs_fat.c,v 1.2 1993/10/16 19:29:34 rgrimes Exp $ + * $Id: pcfs_fat.c,v 1.3 1993/11/25 01:37:11 wollman Exp $ */ /* @@ -39,6 +39,8 @@ #include "denode.h" #include "fat.h" +static void fc_lookup(struct denode *, u_long, u_long *, u_long *); + /* * Fat cache stats. */ @@ -106,7 +108,7 @@ pcbmap(dep, findcn, bnp, cnp) int error; u_long i; u_long cn; - u_long prevcn; + u_long prevcn = 0; u_long byteoffset; u_long bn; u_long bo; @@ -224,6 +226,7 @@ hiteof:; * Find the closest entry in the fat cache to the * cluster we are looking for. */ +static void fc_lookup(dep, findcn, frcnp, fsrcnp) struct denode *dep; u_long findcn; @@ -251,6 +254,7 @@ fc_lookup(dep, findcn, frcnp, fsrcnp) * Purge the fat cache in denode dep of all entries * relating to file relative cluster frcn and beyond. */ +void fc_purge(dep, frcn) struct denode *dep; u_int frcn; |
