summaryrefslogtreecommitdiff
path: root/ext2fs
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@gnu.org>2002-04-01 20:12:03 +0000
committerNeal H. Walfield <neal@gnu.org>2002-04-01 20:12:03 +0000
commit3a53319a01639b18d56df82d1b79d5636234e0b8 (patch)
tree4d8701a22b0202810d645c2c6b17af955dbb1812 /ext2fs
parenta7d306054eca86dddc314c4e8a736f79cebd8114 (diff)
2002-04-01 Neal H Walfield <neal@cs.uml.edu>
* pager.c (diskfs_grow): Fix inverted logic.
Diffstat (limited to 'ext2fs')
-rw-r--r--ext2fs/pager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext2fs/pager.c b/ext2fs/pager.c
index cf608413..656ba4bb 100644
--- a/ext2fs/pager.c
+++ b/ext2fs/pager.c
@@ -644,7 +644,7 @@ diskfs_grow (struct node *node, off_t size, struct protid *cred)
}
diskfs_end_catch_exception ();
- if (err)
+ if (! err)
/* Reflect how much we allocated successfully. */
new_size = (end_block - 1) << log2_block_size;
else