The branch, master has been updated
       via  02c9bee85a9 set caller allocation units in statvfs f_bavail
      from  b33fad77268 notifyd: Fix SIGBUS on sparc

https://git.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 02c9bee85a9098dec6926b054e6f11b9c79a513f
Author: Mark Niggemann <[email protected]>
Date:   Thu Jun 8 11:20:46 2017 -0500

    set caller allocation units in statvfs f_bavail
    
    Signed-off-by: Mark Niggemann <[email protected]>
    Reviewed-by: Andreas Schneider <[email protected]>
    Reviewed-by: Bjoern Jacke <[email protected]>
    
    Autobuild-User(master): Björn Jacke <[email protected]>
    Autobuild-Date(master): Fri Feb 22 15:04:55 CET 2019 on sn-devel-144

-----------------------------------------------------------------------

Summary of changes:
 source3/libsmb/libsmb_stat.c | 2 ++
 1 file changed, 2 insertions(+)


Changeset truncated at 500 lines:

diff --git a/source3/libsmb/libsmb_stat.c b/source3/libsmb/libsmb_stat.c
index f8b35bdb9ea..2f6e66c08e5 100644
--- a/source3/libsmb/libsmb_stat.c
+++ b/source3/libsmb/libsmb_stat.c
@@ -420,6 +420,8 @@ SMBC_fstatvfs_ctx(SMBCCTX *context,
                                 (fsblkcnt_t) total_allocation_units;
                         st->f_bfree =
                                 (fsblkcnt_t) actual_allocation_units;
+                        st->f_bavail =
+                                (fsblkcnt_t) caller_allocation_units;
                 }
 
                 flags |= SMBC_VFS_FEATURE_NO_UNIXCIFS;


-- 
Samba Shared Repository

Reply via email to