mirror of https://github.com/schoebel/mars
infra: remove obsolete black interface
The backing file should not be exposed from the brick blackbox.
This commit is contained in:
parent
814b92ba19
commit
27fd43cb31
|
@ -166,7 +166,6 @@ struct mars_info {
|
|||
loff_t current_size;
|
||||
int transfer_order;
|
||||
int transfer_size;
|
||||
struct file *backing_file;
|
||||
};
|
||||
|
||||
// brick stuff
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue