[stgt] [PATCH 2/2] ssc: hook spc_prevent_allow_media_removal

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Wed Aug 27 16:28:56 CEST 2008


Richard Sharpe reported that BakBone NetVault needs PREVENT ALLOW
MEDIA REMOVAL.

Note that spc_prevent_allow_media_removal is NO-OP for now. We need to
fix it.

Signed-off-by: FUJITA Tomonori <fujita.tomonori at lab.ntt.co.jp>
---
 usr/ssc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/usr/ssc.c b/usr/ssc.c
index c0cfbfe..96c3242 100644
--- a/usr/ssc.c
+++ b/usr/ssc.c
@@ -192,7 +192,7 @@ static struct device_type_template ssc_template = {
 		{spc_start_stop,},
 		{spc_illegal_op,},
 		{spc_illegal_op,},
-		{spc_illegal_op,},
+		{spc_prevent_allow_media_removal,},
 		{spc_illegal_op,},
 
 		/* 0x20 */
-- 
1.5.5.GIT

--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list