infra: remove obsolete black interface

The backing file should not be exposed from the brick blackbox.
This commit is contained in:
Thomas Schoebel-Theuer 2013-04-16 09:52:10 +02:00
parent 814b92ba19
commit 27fd43cb31
4 changed files with 1 additions and 4 deletions

View File

@ -166,7 +166,6 @@ struct mars_info {
loff_t current_size;
int transfer_order;
int transfer_size;
struct file *backing_file;
};
// brick stuff

View File

@ -894,7 +894,6 @@ static int aio_get_info(struct aio_output *output, struct mars_info *info)
MARS_DBG("correcting file length from %lld to %lld\n", info->current_size, output->mf->mf_max);
info->current_size = output->mf->mf_max;
}
info->backing_file = file;
return 0;
}

View File

@ -227,7 +227,7 @@ static int bio_get_info(struct bio_output *output, struct mars_info *info)
brick->total_size = inode->i_size;
info->current_size = brick->total_size;
MARS_DBG("determined device size = %lld\n", info->current_size);
info->backing_file = brick->mf->mf_filp;
done:
return status;
}

View File

@ -482,7 +482,6 @@ static int sio_get_info(struct sio_output *output, struct mars_info *info)
info->current_size = i_size_read(file->f_mapping->host);
MARS_DBG("determined file size = %lld\n", info->current_size);
info->backing_file = file;
return 0;
}