Commit 0fcd426d authored by Andries E. Brouwer's avatar Andries E. Brouwer Committed by Linus Torvalds

[PATCH] minix block usage counting fix

In 2.5.18 some minix-specific stuff was moved to the minix subdirectory
where it belonged.  However, a typo crept in, causing inode disk usage
to be incorrectly reported.  A few people have complained, but so far
not sufficiently loudly.
Signed-off-by: default avatarAndries Brouwer <Andries.Brouwer@cwi.nl>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 1039575e
...@@ -358,5 +358,5 @@ static inline unsigned nblocks(loff_t size) ...@@ -358,5 +358,5 @@ static inline unsigned nblocks(loff_t size)
res += blocks; res += blocks;
direct = 1; direct = 1;
} }
return blocks; return res;
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment