vfs_fruit: set twrp in smb_fname in fruit_fstat_meta_stream()
authorRalph Boehme <slow@samba.org>
Sat, 2 May 2020 08:28:44 +0000 (10:28 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 5 May 2020 19:18:42 +0000 (19:18 +0000)
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_fruit.c

index 5579988217a7f22864a30f1c24106b81885ce956..a9785e5b4a2c10741fcd12ca85cdc3bb08a60522 100644 (file)
@@ -3150,6 +3150,7 @@ static int fruit_fstat_meta_stream(vfs_handle_struct *handle,
 
        smb_fname = (struct smb_filename) {
                .base_name = fsp->fsp_name->base_name,
+               .twrp = fsp->fsp_name->twrp,
        };
 
        ret = fruit_stat_base(handle, &smb_fname, false);