diff options
author | bde <bde@FreeBSD.org> | 1995-12-10 21:38:45 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-12-10 21:38:45 +0000 |
commit | 3e882cae21fc9d8c1c7732680323735b67c9af7b (patch) | |
tree | 629828147112c661229bfd5dcd1bf2bf740dd78c /sys/gnu | |
parent | a466516513219f24be95271e597e16f5b9ffd081 (diff) | |
download | FreeBSD-src-3e882cae21fc9d8c1c7732680323735b67c9af7b.zip FreeBSD-src-3e882cae21fc9d8c1c7732680323735b67c9af7b.tar.gz |
Restored variables that are used iff QUOTA is defined.
ext2fs still uses #if in many cases where the rest of the kernel uses
#ifdef (for QUOTA...).
Diffstat (limited to 'sys/gnu')
-rw-r--r-- | sys/gnu/ext2fs/ext2_alloc.c | 3 | ||||
-rw-r--r-- | sys/gnu/ext2fs/ext2_vfsops.c | 3 | ||||
-rw-r--r-- | sys/gnu/fs/ext2fs/ext2_alloc.c | 3 | ||||
-rw-r--r-- | sys/gnu/fs/ext2fs/ext2_vfsops.c | 3 |
4 files changed, 12 insertions, 0 deletions
diff --git a/sys/gnu/ext2fs/ext2_alloc.c b/sys/gnu/ext2fs/ext2_alloc.c index e14aeb4..e954150 100644 --- a/sys/gnu/ext2fs/ext2_alloc.c +++ b/sys/gnu/ext2fs/ext2_alloc.c @@ -112,6 +112,9 @@ ext2_alloc(ip, lbn, bpref, size, cred, bnp) { register struct ext2_sb_info *fs; daddr_t bno; +#if QUOTA + int error; +#endif *bnp = 0; fs = ip->i_e2fs; diff --git a/sys/gnu/ext2fs/ext2_vfsops.c b/sys/gnu/ext2fs/ext2_vfsops.c index 8b12631..09f4282 100644 --- a/sys/gnu/ext2fs/ext2_vfsops.c +++ b/sys/gnu/ext2fs/ext2_vfsops.c @@ -713,6 +713,9 @@ ext2_flushfiles(mp, flags, p) #endif register struct ufsmount *ump; int error; +#if QUOTA + int i; +#endif if (!doforce) flags &= ~FORCECLOSE; diff --git a/sys/gnu/fs/ext2fs/ext2_alloc.c b/sys/gnu/fs/ext2fs/ext2_alloc.c index e14aeb4..e954150 100644 --- a/sys/gnu/fs/ext2fs/ext2_alloc.c +++ b/sys/gnu/fs/ext2fs/ext2_alloc.c @@ -112,6 +112,9 @@ ext2_alloc(ip, lbn, bpref, size, cred, bnp) { register struct ext2_sb_info *fs; daddr_t bno; +#if QUOTA + int error; +#endif *bnp = 0; fs = ip->i_e2fs; diff --git a/sys/gnu/fs/ext2fs/ext2_vfsops.c b/sys/gnu/fs/ext2fs/ext2_vfsops.c index 8b12631..09f4282 100644 --- a/sys/gnu/fs/ext2fs/ext2_vfsops.c +++ b/sys/gnu/fs/ext2fs/ext2_vfsops.c @@ -713,6 +713,9 @@ ext2_flushfiles(mp, flags, p) #endif register struct ufsmount *ump; int error; +#if QUOTA + int i; +#endif if (!doforce) flags &= ~FORCECLOSE; |