quota2: use strtoull instead of strtoul

This commit is contained in:
Jan Engelhardt
2009-07-10 17:18:48 +02:00
parent dd26ab476c
commit 1c55aec64a
2 changed files with 2 additions and 1 deletions

View File

@@ -4,6 +4,7 @@
- quota2: support anonymous counters
- quota2: reduce memory footprint for anonymous counters
- quota2: extend locked period during cleanup (locking bugfix)
- quota2: use strtoull instead of strtoul
Xtables-addons 1.17 (June 16 2009)

View File

@@ -69,7 +69,7 @@ static int quota_proc_write(struct file *file, const char __user *input,
buf[sizeof(buf)-1] = '\0';
spin_lock_bh(&e->lock);
e->quota = simple_strtoul(buf, NULL, 0);
e->quota = simple_strtoull(buf, NULL, 0);
spin_unlock_bh(&e->lock);
return size;
}