The branch, v4-16-test has been updated
       via  19705602653 vfs_gpfs: Initialize litemask to 0
      from  ac73a58d751 builtools: Make abi_gen.sh less prone to errors

https://git.samba.org/?p=samba.git;a=shortlog;h=v4-16-test


- Log -----------------------------------------------------------------
commit 19705602653298c8335df8bf20ed10f601f572da
Author: Christof Schmitt <c...@samba.org>
Date:   Mon Mar 21 09:26:41 2022 -0700

    vfs_gpfs: Initialize litemask to 0
    
    The change from commit fb13c7c94f to query exact values for atime,
    mtime, ctime and size  is not necessary, as none of these are used in
    this codepath. Initiale litemask to 0 instead.
    
    BUG: https://bugzilla.samba.org/show_bug.cgi?id=15027
    
    Signed-off-by: Christof Schmitt <c...@samba.org>
    Reviewed-by: Ralph Boehme <s...@samba.org>
    
    Autobuild-User(master): Ralph Böhme <s...@samba.org>
    Autobuild-Date(master): Mon Mar 28 09:10:58 UTC 2022 on sn-devel-184
    
    (cherry picked from commit 127f728d58e79a42f8826500e3b15c486e88e556)
    
    Autobuild-User(v4-16-test): Jule Anger <jan...@samba.org>
    Autobuild-Date(v4-16-test): Wed Mar 30 11:12:52 UTC 2022 on sn-devel-184

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

Summary of changes:
 source3/modules/vfs_gpfs.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/modules/vfs_gpfs.c b/source3/modules/vfs_gpfs.c
index f6f162b3b57..7642c647afb 100644
--- a/source3/modules/vfs_gpfs.c
+++ b/source3/modules/vfs_gpfs.c
@@ -1474,7 +1474,7 @@ static NTSTATUS vfs_gpfs_fget_dos_attributes(struct 
vfs_handle_struct *handle,
        char buf[PATH_MAX];
        const char *p = NULL;
        struct gpfs_iattr64 iattr = { };
-       unsigned int litemask;
+       unsigned int litemask = 0;
        struct timespec ts;
        uint64_t file_id;
        NTSTATUS status;
@@ -1980,7 +1980,7 @@ static int vfs_gpfs_check_pathref_fstat_x(struct 
gpfs_config_data *config,
                                          struct connection_struct *conn)
 {
        struct gpfs_iattr64 iattr = {0};
-       unsigned int litemask;
+       unsigned int litemask = 0;
        int saved_errno;
        int fd;
        int ret;


-- 
Samba Shared Repository

Reply via email to