File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -561,22 +561,22 @@ def statfs(self, filepath):
561
561
562
562
try :
563
563
account_info = AccountInfo .get_instance ()
564
- total = account_info .quota_bytes_total / block_size
565
- used = account_info .quota_bytes_used / block_size
564
+ total = account_info .quota_bytes_total / block_size_b
565
+ used = account_info .quota_bytes_used / block_size_b
566
566
free = total - used
567
567
except :
568
568
_logger .exception ("Could not get account-info." )
569
569
raise FuseOSError (EIO )
570
570
571
571
return {
572
572
# Optimal transfer block size.
573
- 'f_bsize' : block_size ,
573
+ 'f_bsize' : block_size_b ,
574
574
575
575
# Total data blocks in file system.
576
576
'f_blocks' : total ,
577
577
578
578
# Fragment size.
579
- 'f_frsize' : block_size ,
579
+ 'f_frsize' : block_size_b ,
580
580
581
581
# Free blocks in filesystem.
582
582
'f_bfree' : free ,
You can’t perform that action at this time.
0 commit comments