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
* 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;
}