Skip to content

Commit 8c3f83f

Browse files
committed
Set flag for cache-attach operation
Signed-off-by: Daniel Madej <daniel.madej@huawei.com>
1 parent eeb978e commit 8c3f83f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/cas_cache/service_ui_ioctl.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* Copyright(c) 2012-2022 Intel Corporation
3-
* Copyright(c) 2024 Huawei Technologies
3+
* Copyright(c) 2024-2025 Huawei Technologies
44
* SPDX-License-Identifier: BSD-3-Clause
55
*/
66

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

100+
attach_cfg.is_cmd_attach = true;
100101
retval = cache_mngt_attach_device(cache_name, OCF_CACHE_NAME_SIZE,
101102
cmd_info->cache_path_name, &attach_cfg);
102103

0 commit comments

Comments
 (0)