[SCM] Samba Shared Repository - branch master updated -
release-4-0-0alpha6-897-g7caadef
Derrell Lipman
derrell at samba.org
Sat Feb 14 20:42:24 GMT 2009
The branch, master has been updated
via 7caadefaa20afeb98a77f14c2948f03cde1d8786 (commit)
from 20b5e6465938ee81e4d0657f8dd493ff97ec53aa (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 7caadefaa20afeb98a77f14c2948f03cde1d8786
Author: Derrell Lipman <derrell.lipman at unwireduniverse.com>
Date: Sat Feb 14 12:30:23 2009 -0500
f_frsize field is not ubiquitous. Check for it.
-----------------------------------------------------------------------
Summary of changes:
source3/libsmb/libsmb_stat.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/libsmb/libsmb_stat.c b/source3/libsmb/libsmb_stat.c
index dbe9f37..8987c2e 100644
--- a/source3/libsmb/libsmb_stat.c
+++ b/source3/libsmb/libsmb_stat.c
@@ -398,8 +398,12 @@ SMBC_fstatvfs_ctx(SMBCCTX *context,
/* ... then provide it */
st->f_bsize =
(unsigned long) bytes_per_sector;
+#if HAVE_FRSIZE
st->f_frsize =
(unsigned long) sectors_per_allocation_unit;
+#else
+#warning "f_frsize field is not available"
+#endif
st->f_blocks =
(fsblkcnt_t) total_allocation_units;
st->f_bfree =
--
Samba Shared Repository
More information about the samba-cvs
mailing list