From: Andy Grover Date: Wed, 29 May 2013 19:05:59 +0000 (-0700) Subject: target/iscsi: Fix op=disable + error handling cases in np_store_iser X-Git-Tag: v3.10-rc7~5^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58bd0c69ffa27ea2309959836811e88004d73720;p=pandora-kernel.git target/iscsi: Fix op=disable + error handling cases in np_store_iser Writing 0 when iser was not previously enabled, so succeed but do nothing so that user-space code doesn't need a try: catch block when ib_isert logic is not available. Also, return actual error from add_network_portal using PTR_ERR during op=enable failure. Signed-off-by: Andy Grover Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed