summaryrefslogtreecommitdiff
path: root/ext2fs
diff options
context:
space:
mode:
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