Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Viro <viro@math.psu.edu>2002-02-09 06:18:01 -0800
committerDavid S. Miller <davem@redhat.com>2002-02-09 06:18:01 -0800
commitaa45600eb2e6df6d8ed4a09d975d9fd2a215d6dc (patch)
tree9269d87495abe9201b2566e1d805b3bd47ee254b
parent2226f84b1e9bce09a49c3466da17f74598abeb79 (diff)
[PATCH] fix for typo in ext2_new_inode()
Please, apply. Otherwise we eat quota like there's no tomorrow ;-/
-rw-r--r--fs/ext2/balloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext2/balloc.c b/fs/ext2/balloc.c
index 92e672ac8b26..cc6c6217e758 100644
--- a/fs/ext2/balloc.c
+++ b/fs/ext2/balloc.c
@@ -404,7 +404,7 @@ int ext2_new_block (struct inode * inode, unsigned long goal,
if (DQUOT_ALLOC_BLOCK(inode, 1))
goto out;
- while (prealloc_goal && !DQUOT_PREALLOC_BLOCK(inode, prealloc_goal))
+ while (prealloc_goal && DQUOT_PREALLOC_BLOCK(inode, prealloc_goal))
prealloc_goal--;
dq_alloc = prealloc_goal + 1;