Skip to content

Commit

Permalink
Set flag for cache-attach operation
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Madej <[email protected]>
  • Loading branch information
Deixx committed Jan 17, 2025
1 parent eeb978e commit 8c3f83f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/cas_cache/service_ui_ioctl.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright(c) 2012-2022 Intel Corporation
* Copyright(c) 2024 Huawei Technologies
* Copyright(c) 2024-2025 Huawei Technologies
* SPDX-License-Identifier: BSD-3-Clause
*/

Expand Down Expand Up @@ -97,6 +97,7 @@ long cas_service_ioctl_ctrl(struct file *filp, unsigned int cmd,
if (retval)
RETURN_CMD_RESULT(cmd_info, arg, retval);

attach_cfg.is_cmd_attach = true;
retval = cache_mngt_attach_device(cache_name, OCF_CACHE_NAME_SIZE,
cmd_info->cache_path_name, &attach_cfg);

Expand Down

0 comments on commit 8c3f83f

Please sign in to comment.