Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP5:GA
lio-utils
0111-tcm_node-Remove-target_core_stgt-shutdown-...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0111-tcm_node-Remove-target_core_stgt-shutdown-warning.patch of Package lio-utils
From 21c06cdeb05e8eaa22d2e5c914bddba7a558c448 Mon Sep 17 00:00:00 2001 From: Nicholas Bellinger <nab@risingtidesystems.com> Date: Thu, 13 Sep 2012 13:44:48 -0700 Subject: tcm_node: Remove target_core_stgt shutdown warning This patch removes the following warning during init.d/target stop: ERROR: Module target_core_stgt does not exist in /proc/modules as target_core_stgt is not currently an mainline backend driver nor included into RTS-OS. Reported-by: Michael Kromer <mek@risingtidesystems.com> Signed-off-by: Nicholas Bellinger <nab@risingtidesystems.com> --- tcm-py/tcm_node.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tcm-py/tcm_node.py b/tcm-py/tcm_node.py index 997009c..7cd0217 100755 --- a/tcm-py/tcm_node.py +++ b/tcm-py/tcm_node.py @@ -186,7 +186,6 @@ def tcm_generate_uuid_for_unit_serial(dev_path): tcm_types = ( \ dict(name="pscsi", module=tcm_pscsi, gen_uuid=False), - dict(name="stgt", module=None, gen_uuid=True), dict(name="iblock", module=tcm_iblock, gen_uuid=True), dict(name="rd_dr", module=tcm_ramdisk, gen_uuid=True), dict(name="rd_mcp", module=tcm_ramdisk, gen_uuid=True), @@ -598,7 +597,7 @@ def tcm_unload(): tcm_del_alua_lugp(lu_gp) # Unload TCM subsystem plugin modules - for module in ("iblock", "file", "pscsi", "stgt"): + for module in ("iblock", "file", "pscsi"): os.system("rmmod target_core_%s" % module) # Unload TCM Core -- 1.8.1.4
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor