* Use a block size of 512 - since there is no standard, we're just following

the masses (whatever stupidity created this misery).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27978 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2008-10-11 20:16:35 +00:00
parent 3add2e79b7
commit 9fc81c5394
@@ -56,8 +56,7 @@ fill_stat_buffer(Inode* inode, struct stat& stat)
} else
stat.st_size = inode->Size();
stat.st_blocks = inode->AllocatedSize() / node.InodeSize();
// TODO: decide for a unit to use for st_blocks!
stat.st_blocks = inode->AllocatedSize() / 512;
}