summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2022-05-17 15:34:35 +0200
committerJule Anger <janger@samba.org>2022-06-09 08:54:16 +0000
commita039780c01cb505958ab10a08eb6fbed9493c3ed (patch)
tree089bc7769d336d5416dc43afb8a2ccf3f00abe75
parentd9222188190db6f72349bbc35b89b85b1150864c (diff)
downloadsamba-a039780c01cb505958ab10a08eb6fbed9493c3ed.tar.gz
vfs_gpfs: use fsp in gpfsacl_get_posix_acl()
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> (cherry picked from commit 3764be70319d8e953a6205649fecaed06c93dbc8)
-rw-r--r--source3/modules/vfs_gpfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/modules/vfs_gpfs.c b/source3/modules/vfs_gpfs.c
index f2bb3983a89..df6edf52cf5 100644
--- a/source3/modules/vfs_gpfs.c
+++ b/source3/modules/vfs_gpfs.c
@@ -951,8 +951,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;
}