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:
parent
5cf3e37fcc
commit
172fc5ae28
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user