Bug 1992 - Returning *bsize of 2048 from VFS disk_free() function not accepted
Returning *bsize of 2048 from VFS disk_free() function not accepted
Status: NEW
Product: Samba 3.0
Classification: Unclassified
Component: File Services
3.0.7
x86 Linux
: P3 minor
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-11-03 11:32 UTC by terryg
Modified: 2004-11-03 11:32 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description terryg 2004-11-03 11:32:53 UTC
I'm implementing a VFS module with a disk_free() function. The real file
system has a block size of 2048. When the *bsize, *dfree, and *dsize values
are populated accordingly (using vfswrap_disk_free) Samba doesn't seem to
like it. A Linux client box that has mounted the SMB share gets back zeros
if it does a statfs() on the share. 

If I double the value of *bsize to 4096 and cut *dfree and *dsize in half
before returning from my disk_free() function then everything seems to work
fine.