vfs_gpfs: Update message for requesting sharemode on stream
authorChristof Schmitt <cs@samba.org>
Mon, 6 Jan 2020 23:08:56 +0000 (16:08 -0700)
committerJeremy Allison <jra@samba.org>
Wed, 8 Jan 2020 01:26:46 +0000 (01:26 +0000)
User newer debug macro and print full path to affected file.

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Jan  8 01:26:46 UTC 2020 on sn-devel-184

source3/modules/vfs_gpfs.c

index e31247c65cfd7885167b2cc5a76e0f755eaebdf1..de18d32ac2363bcf96e80e500aded084f7dd7e06 100644 (file)
@@ -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;
        }