]> Zhao Yanbai Git Server - minix.git/commit
isofs: fix reported st_blocks stat(2) field 13/3413/1
authorDavid van Moolenbroek <david@minix3.org>
Sun, 26 Feb 2017 22:18:21 +0000 (22:18 +0000)
committerDavid van Moolenbroek <david@minix3.org>
Sun, 26 Feb 2017 22:22:20 +0000 (22:22 +0000)
commit8d0759b089e4b67dfcc7cc954724c4da7bb25a87
tree96eeb05ce00927b34dfe0cb978075b94afdd2b41
parent1d9650c9c548b1e4b95e98a3c4f337c2365ab3c6
isofs: fix reported st_blocks stat(2) field

The st_blocks field should count 512-byte units, not file system
block units.  The previous computation would cause utilities such
as du(1), when used on isofs, to be off by a factor four.

Change-Id: If47c234079d19bd5b41f35a97780667efd822509
minix/fs/isofs/inode.c