X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/777ab1d984a7f99783e0a9dd18b4f52358900ee8..ee5447e55003f9f5292edc13ee50794157ac56b0:/src/surf/storage.c diff --git a/src/surf/storage.c b/src/surf/storage.c index 5c02fa6013..242e5af81b 100644 --- a/src/surf/storage.c +++ b/src/surf/storage.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012. The SimGrid Team. +/* Copyright (c) 2004 - 2013. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -81,13 +81,6 @@ static surf_action_t storage_action_ls(void *storage, const char* path) return action; } -static surf_action_t storage_action_get_size(void *storage, surf_file_t stream) -{ - surf_action_t action = storage_action_execute(storage,0,GET_SIZE); - action->file = stream; - return action; -} - static surf_action_t storage_action_unlink(void *storage, surf_file_t stream) { surf_action_t action = storage_action_execute(storage,0, UNLINK); @@ -196,7 +189,6 @@ static surf_action_t storage_action_execute (void *storage, double size, e_surf_ case STAT: case UNLINK: case LS: - case GET_SIZE: break; case READ: lmm_expand(storage_maxmin_system, STORAGE->constraint_read, @@ -502,7 +494,6 @@ static void surf_storage_model_init_internal(void) surf_storage_model->extension.storage.write = storage_action_write; surf_storage_model->extension.storage.unlink = storage_action_unlink; surf_storage_model->extension.storage.ls = storage_action_ls; - surf_storage_model->extension.storage.get_size = storage_action_get_size; if (!storage_maxmin_system) { storage_maxmin_system = lmm_system_new(storage_selective_update);