diff options
Diffstat (limited to 'ext2fs/dir.c')
-rw-r--r-- | ext2fs/dir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext2fs/dir.c b/ext2fs/dir.c index a291436e..c0752466 100644 --- a/ext2fs/dir.c +++ b/ext2fs/dir.c @@ -465,8 +465,8 @@ dirscanblock (vm_address_t blockaddr, struct node *dp, int idx, } if (consider_compress - && (ds->type == LOOKUP - || (ds->type == COMPRESS && ds->nbytes > nbytes))) + && (ds->stat == LOOKING + || (ds->stat == COMPRESS && ds->nbytes > nbytes))) { ds->type = CREATE; ds->stat = COMPRESS; |