summaryrefslogtreecommitdiff
path: root/sys/gnu
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1995-12-10 21:38:45 +0000
committerBruce Evans <bde@FreeBSD.org>1995-12-10 21:38:45 +0000
commit172fc5ae2859e52d6834a79f98b1ed5573dcc2ce (patch)
tree629828147112c661229bfd5dcd1bf2bf740dd78c /sys/gnu
parent5cf3e37fccf02849c1713c7b1d8394b31a30f7b0 (diff)
Notes
Diffstat (limited to 'sys/gnu')
-rw-r--r--sys/gnu/ext2fs/ext2_alloc.c3
-rw-r--r--sys/gnu/ext2fs/ext2_vfsops.c3
-rw-r--r--sys/gnu/fs/ext2fs/ext2_alloc.c3
-rw-r--r--sys/gnu/fs/ext2fs/ext2_vfsops.c3
4 files changed, 12 insertions, 0 deletions
diff --git a/sys/gnu/ext2fs/ext2_alloc.c b/sys/gnu/ext2fs/ext2_alloc.c
index e14aeb4aa8be..e954150a82f5 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 8b12631c23e7..09f428230e64 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 e14aeb4aa8be..e954150a82f5 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 8b12631c23e7..09f428230e64 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;