From: Jule Anger Date: Mon, 25 Apr 2022 10:15:57 +0000 (+0200) Subject: smbstatus: add service path to byte-range locks X-Git-Tag: samba-4.17.0rc1~15 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6b6b586b8d594eebe5aec4b97c6d3fa7d0aae16c;p=thirdparty%2Fsamba.git smbstatus: add service path to byte-range locks The service/share path was added in 39ddd0a520bc and removed in 3a7d372e2eb5. Signed-off-by: Jule Anger Reviewed-by: Ralph Boehme --- diff --git a/source3/utils/status.c b/source3/utils/status.c index fbe9ce1a15e..13ba3811736 100644 --- a/source3/utils/status.c +++ b/source3/utils/status.c @@ -383,6 +383,7 @@ static void print_brl(struct file_id id, share_mode = fetch_share_mode_unlocked(NULL, id); if (share_mode) { fname = share_mode_filename(NULL, share_mode); + sharepath = share_mode_servicepath(share_mode); } else { fname = talloc_strdup(NULL, ""); if (fname == NULL) {