summaryrefslogtreecommitdiffstats
path: root/sys/gnu/fs/ext2fs/ext2_alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/gnu/fs/ext2fs/ext2_alloc.c')
-rw-r--r--sys/gnu/fs/ext2fs/ext2_alloc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/gnu/fs/ext2fs/ext2_alloc.c b/sys/gnu/fs/ext2fs/ext2_alloc.c
index e14aeb4..e954150 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;
OpenPOWER on IntegriCloud