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...).
This commit is contained in:
Bruce Evans 1995-12-10 21:38:45 +00:00
parent 5cf3e37fcc
commit 172fc5ae28
4 changed files with 12 additions and 0 deletions

View File

@ -112,6 +112,9 @@ ext2_alloc(ip, lbn, bpref, size, cred, bnp)
{ {
register struct ext2_sb_info *fs; register struct ext2_sb_info *fs;
daddr_t bno; daddr_t bno;
#if QUOTA
int error;
#endif
*bnp = 0; *bnp = 0;
fs = ip->i_e2fs; fs = ip->i_e2fs;

View File

@ -713,6 +713,9 @@ ext2_flushfiles(mp, flags, p)
#endif #endif
register struct ufsmount *ump; register struct ufsmount *ump;
int error; int error;
#if QUOTA
int i;
#endif
if (!doforce) if (!doforce)
flags &= ~FORCECLOSE; flags &= ~FORCECLOSE;

View File

@ -112,6 +112,9 @@ ext2_alloc(ip, lbn, bpref, size, cred, bnp)
{ {
register struct ext2_sb_info *fs; register struct ext2_sb_info *fs;
daddr_t bno; daddr_t bno;
#if QUOTA
int error;
#endif
*bnp = 0; *bnp = 0;
fs = ip->i_e2fs; fs = ip->i_e2fs;

View File

@ -713,6 +713,9 @@ ext2_flushfiles(mp, flags, p)
#endif #endif
register struct ufsmount *ump; register struct ufsmount *ump;
int error; int error;
#if QUOTA
int i;
#endif
if (!doforce) if (!doforce)
flags &= ~FORCECLOSE; flags &= ~FORCECLOSE;