]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbstatus: add service path to byte-range locks
authorJule Anger <janger@samba.org>
Mon, 25 Apr 2022 10:15:57 +0000 (12:15 +0200)
committerJule Anger <janger@samba.org>
Mon, 8 Aug 2022 12:56:29 +0000 (12:56 +0000)
The service/share path was added in 39ddd0a520bc and removed in
3a7d372e2eb5.

Signed-off-by: Jule Anger <janger@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/utils/status.c

index fbe9ce1a15e58944f44c321be8676e3547ae9053..13ba3811736e0cd17a849f84c0f4cc4d5d69a863 100644 (file)
@@ -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) {