From: Christof Schmitt Date: Mon, 6 Jan 2020 23:08:56 +0000 (-0700) Subject: vfs_gpfs: Update message for requesting sharemode on stream X-Git-Tag: ldb-2.1.0~88 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ff13c0174605e45d7d3b26fbb4226d9613b1c98;p=thirdparty%2Fsamba.git vfs_gpfs: Update message for requesting sharemode on stream User newer debug macro and print full path to affected file. Signed-off-by: Christof Schmitt Reviewed-by: Jeremy Allison Autobuild-User(master): Jeremy Allison Autobuild-Date(master): Wed Jan 8 01:26:46 UTC 2020 on sn-devel-184 --- diff --git a/source3/modules/vfs_gpfs.c b/source3/modules/vfs_gpfs.c index e31247c65cf..de18d32ac23 100644 --- a/source3/modules/vfs_gpfs.c +++ b/source3/modules/vfs_gpfs.c @@ -176,7 +176,9 @@ static int vfs_gpfs_kernel_flock(vfs_handle_struct *handle, files_struct *fsp, * kernel_flock and set_gpfs_sharemode for stream. */ if (is_named_stream(fsp->fsp_name)) { - DEBUG(2,("%s: kernel_flock on stream\n", fsp_str_dbg(fsp))); + DBG_NOTICE("Not requesting GPFS sharemode on stream: %s/%s\n", + fsp->conn->connectpath, + fsp_str_dbg(fsp)); return 0; }