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;
|
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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user