minix fix
PATCH 1/1 minix fix
In 2.5.18 some minix-specific stuff was moved to the minix subdirectory where it belonged. However, a typo crept in. A few people have complained, but so far not sufficiently loudly.
The bug is of a type that automated tools might discover:
a value res is computed, but not used.
Andries
fs/minix/itree_common.c +1 -1
@@ -358,5 +358,5 @@ static inline unsigned nblocks(loff_t si res += blocks; direct =1 ; } -return blocks; +return res; }
Re: [PATCH] minix fix - ? does this fix "du" bug ?!?
Will this patch fix the fact that 'du' is broken on minix, as a few of us have been reporting? (Assume yes: Yippeedoo! Thanks!) -Tom
Quoted 22 lines
In 2.5.18 some minix-specific stuff was moved to the minix subdirectory where it belonged. However, a typo crept in. A few people have complained, but so far not sufficiently loudly.
The bug is of a type that automated tools might discover:
a value res is computed, but not used.Andries
Signed-off-by Andries Brouwerdiff -uprN -X /linux/dontdiff a/fs/minixdiff -uprN -X /linux/dontdiff
a/fs/minix/itree_common.cb/fs/minix/itree_common.cfs/minix/itree_common.c +1
-2@@ -358,5 +358,5 @@ static inline unsigned nblocks(loff_t si res += blocks; direct =1 ; } -return blocks; +return res; } -
Re: [PATCH] minix fix - ? does this fix "du" bug ?!?
Quoted 2 lines · Tom Oehser
Will this patch fix the fact that 'du' is broken on minix, as a few of us have been reporting? (Assume yes: Yippeedoo! Thanks!) -Tom
Yes, I think so.
Andries