Bug 1992 - Returning *bsize of 2048 from VFS disk_free() function not accepted
Summary: Returning *bsize of 2048 from VFS disk_free() function not accepted
Status: NEW
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: File Services (show other bugs)
Version: 3.0.7
Hardware: x86 Linux
: P3 minor
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
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.