blobfs: remove unused parameter in spdk_fs_cb_args
For now all the spdk_fs_cb_args used in blobfs are in the spdk_fs_request context, so the field 'from_request' in spdk_fs_cb_args can be removed. Change-Id: I9b40cffeac8a673a87406ee89ad248939593806b Signed-off-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/450721 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
0d4735eaf3
commit
328c500001
@ -134,7 +134,6 @@ struct spdk_fs_cb_args {
|
||||
struct spdk_filesystem *fs;
|
||||
struct spdk_file *file;
|
||||
int rc;
|
||||
bool from_request;
|
||||
union {
|
||||
struct {
|
||||
TAILQ_HEAD(, spdk_deleted_file) deleted_files;
|
||||
@ -284,7 +283,6 @@ alloc_fs_request(struct spdk_fs_channel *channel)
|
||||
}
|
||||
memset(req, 0, sizeof(*req));
|
||||
req->channel = channel;
|
||||
req->args.from_request = true;
|
||||
|
||||
return req;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user