flexnbd: Remove unused ".INCOMPLETE" file code

The original idea was that we'd create a .incomplete file at the destination
for mirroring, but that code was removed some time ago. This is all dead, now
This commit is contained in:
nick
2013-09-23 10:38:18 +01:00
parent 150e506780
commit e161121c7a
3 changed files with 0 additions and 15 deletions

View File

@@ -65,9 +65,6 @@ struct server * server_create (
parse_port( s_port, &out->bind_to.v4 );
out->filename = s_file;
out->filename_incomplete = xmalloc(strlen(s_file)+11+1);
strcpy(out->filename_incomplete, s_file);
strcpy(out->filename_incomplete + strlen(s_file), ".INCOMPLETE");
out->l_acl = flexthread_mutex_create();
out->l_start_mirror = flexthread_mutex_create();
@@ -98,8 +95,6 @@ void server_destroy( struct server * serve )
serve->acl = NULL;
}
free( serve->filename_incomplete );
free( serve->nbd_client );
free( serve );
}