summaryrefslogtreecommitdiff
path: root/ext2fs/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext2fs/dir.c')
-rw-r--r--ext2fs/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext2fs/dir.c b/ext2fs/dir.c
index 3a3e648d..a291436e 100644
--- a/ext2fs/dir.c
+++ b/ext2fs/dir.c
@@ -465,7 +465,7 @@ dirscanblock (vm_address_t blockaddr, struct node *dp, int idx,
}
if (consider_compress
- && (ds->type == LOOKING
+ && (ds->type == LOOKUP
|| (ds->type == COMPRESS && ds->nbytes > nbytes)))
{
ds->type = CREATE;