From 3a53319a01639b18d56df82d1b79d5636234e0b8 Mon Sep 17 00:00:00 2001 From: "Neal H. Walfield" Date: Mon, 1 Apr 2002 20:12:03 +0000 Subject: 2002-04-01 Neal H Walfield * pager.c (diskfs_grow): Fix inverted logic. --- ext2fs/pager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext2fs') 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 -- cgit v1.2.3