blobfs: remove unnecessary opts.
Change-Id: I53c7f242c7c74b47f01568649a0a0e9ab82052ce Signed-off-by: Cunyin Chang <cunyin.chang@intel.com> Reviewed-on: https://review.gerrithub.io/393716 Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
This commit is contained in:
parent
6951b97964
commit
ac17ab3da9
@ -681,7 +681,6 @@ spdk_fs_load(struct spdk_bs_dev *dev, fs_send_request_fn send_request_fn,
|
||||
struct spdk_filesystem *fs;
|
||||
struct spdk_fs_cb_args *args;
|
||||
struct spdk_fs_request *req;
|
||||
struct spdk_bs_opts opts = {};
|
||||
|
||||
fs = fs_alloc(dev, send_request_fn);
|
||||
if (fs == NULL) {
|
||||
@ -708,10 +707,7 @@ spdk_fs_load(struct spdk_bs_dev *dev, fs_send_request_fn send_request_fn,
|
||||
args->arg = cb_arg;
|
||||
args->fs = fs;
|
||||
TAILQ_INIT(&args->op.fs_load.deleted_files);
|
||||
|
||||
spdk_bs_opts_init(&opts);
|
||||
|
||||
spdk_bs_load(dev, &opts, load_cb, req);
|
||||
spdk_bs_load(dev, NULL, load_cb, req);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user