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;