s3: smbd: Change open_streams_for_delete() to take a struct smb_filename *.
[sfrench/samba-autobuild/.git] / source3 / smbd / filename.c
index 86f66860f5b97af029d1a4741eccdb75347b072c..14eb53f31463cc4b1fc393271bf347edf7a2b578 100644 (file)
@@ -1315,7 +1315,7 @@ static NTSTATUS build_stream_path(TALLOC_CTX *mem_ctx,
        }
 
        /* Fall back to a case-insensitive scan of all streams on the file. */
-       status = vfs_streaminfo(conn, NULL, smb_fname->base_name, mem_ctx,
+       status = vfs_streaminfo(conn, NULL, smb_fname, mem_ctx,
                                &num_streams, &streams);
 
        if (NT_STATUS_EQUAL(status, NT_STATUS_OBJECT_NAME_NOT_FOUND)) {