* 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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user