s3: smbd: Change open_streams_for_delete() to take a struct smb_filename *.
[samba.git] / source3 / smbd / close.c
index 144998f3ebdb1e367029c557668bff64e0ba8f5b..3b887c86385c23d7779e823907a7ac4c669f1efe 100644 (file)
@@ -170,7 +170,7 @@ NTSTATUS delete_all_streams(connection_struct *conn,
        TALLOC_CTX *frame = talloc_stackframe();
        NTSTATUS status;
 
-       status = vfs_streaminfo(conn, NULL, smb_fname->base_name, talloc_tos(),
+       status = vfs_streaminfo(conn, NULL, smb_fname, talloc_tos(),
                                &num_streams, &stream_info);
 
        if (NT_STATUS_EQUAL(status, NT_STATUS_NOT_IMPLEMENTED)) {