From 69cda69263d8017aa83a1986133c77c590948777 Mon Sep 17 00:00:00 2001 From: Ralph Boehme Date: Tue, 14 Jun 2022 07:09:09 +0200 Subject: [PATCH] vfs_btrfs: reduce loglevel message to DEBUG in btrfs_fget_compression() This restores behaviour of previous versions. The proper fix would be for the ioctl() to work on O_PATH handles. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15004 Signed-off-by: Ralph Boehme --- source3/modules/vfs_btrfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/modules/vfs_btrfs.c b/source3/modules/vfs_btrfs.c index 309923a9320d..1ee3f1831c6c 100644 --- a/source3/modules/vfs_btrfs.c +++ b/source3/modules/vfs_btrfs.c @@ -500,7 +500,7 @@ static NTSTATUS btrfs_fget_compression(struct vfs_handle_struct *handle, fd = open(p, O_RDONLY); if (fd == -1) { - DBG_ERR("/proc open of %s failed: %s\n", p, strerror(errno)); + DBG_DEBUG("/proc open of %s failed: %s\n", p, strerror(errno)); return map_nt_error_from_unix(errno); } -- 2.35.3