]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
vfs_gpfs: use fsp in gpfsacl_get_posix_acl()
authorRalph Boehme <slow@samba.org>
Tue, 17 May 2022 13:34:35 +0000 (15:34 +0200)
committerJeremy Allison <jra@samba.org>
Fri, 3 Jun 2022 20:56:35 +0000 (20:56 +0000)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15069

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
source3/modules/vfs_gpfs.c

index 41eace799b2c35758d97bd1abcc8711cb889cef8..e6485cb0950a2983b4d3cdc5771f9c01bc6081fc 100644 (file)
@@ -961,8 +961,8 @@ static SMB_ACL_T gpfsacl_get_posix_acl(struct files_struct *fsp,
        pacl = vfs_gpfs_getacl(talloc_tos(), path, false, type);
 
        if (pacl == NULL) {
-               DEBUG(10, ("vfs_gpfs_getacl failed for %s with %s\n",
-                          path, strerror(errno)));
+               DBG_DEBUG("vfs_gpfs_getacl failed for %s with %s\n",
+                          fsp_str_dbg(fsp), strerror(errno));
                if (errno == 0) {
                        errno = EINVAL;
                }