[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[hurd] 17/36: Fix test for block compression
From: |
Samuel Thibault |
Subject: |
[hurd] 17/36: Fix test for block compression |
Date: |
Tue, 24 Sep 2013 12:31:16 +0000 |
This is an automated email from the git hooks/post-receive script.
sthibault pushed a commit to branch upstream
in repository hurd.
commit b2f4e7d704a37655a845af180df5b0d486cf78c4
Author: Samuel Thibault <address@hidden>
Date: Sat Sep 21 13:44:08 2013 +0200
Fix test for block compression
* ext2fs/dir.c (dirscanblock): Test ds->stat against LOOKING and COMPRESS,
instead of ds->type.
---
ext2fs/dir.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ext2fs/dir.c b/ext2fs/dir.c
index a291436..c075246 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;
--
Alioth's /usr/local/bin/git-commit-notice on
/srv/git.debian.org/git/pkg-hurd/hurd.git
- [hurd] 32/36: Fix missing renames, (continued)
- [hurd] 32/36: Fix missing renames, Samuel Thibault, 2013/09/24
- [hurd] 29/36: Fix spurious port deallocation, Samuel Thibault, 2013/09/24
- [hurd] 30/36: Add --without-daemon option to configure, Samuel Thibault, 2013/09/24
- [hurd] 36/36: Merge branch 'upstream' of git.debian.org:/git/pkg-hurd/hurd into upstream, Samuel Thibault, 2013/09/24
- [hurd] 12/36: Fix test for term open mode, Samuel Thibault, 2013/09/24
- [hurd] 28/36: include: make /hurd/proc PID 3, Samuel Thibault, 2013/09/24
- [hurd] 26/36: Fix sscanf format for c99, Samuel Thibault, 2013/09/24
- [hurd] 27/36: proc: do not hand out PID 0, Samuel Thibault, 2013/09/24
- [hurd] 33/36: Merge remote-tracking branch 'upstream/master' into upstream, Samuel Thibault, 2013/09/24
- [hurd] 21/36: Fix gcc warning, Samuel Thibault, 2013/09/24
- [hurd] 17/36: Fix test for block compression,
Samuel Thibault <=
- [hurd] 23/36: Fix gcc warning, Samuel Thibault, 2013/09/24
- [hurd] 18/36: Fix gcc warning, Samuel Thibault, 2013/09/24
- [hurd] 24/36: Fix gcc warning, Samuel Thibault, 2013/09/24