summaryrefslogtreecommitdiffstats
path: root/drivers/target
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2015-03-26 12:27:34 +0100
committerNicholas Bellinger <nab@linux-iscsi.org>2015-03-26 14:52:37 -0700
commit077aa3b2db67dd43781e9ca1635e542696c39269 (patch)
tree402ed5f264b2c5c74bbec80d0f72037aa093f919 /drivers/target
parent964949169e0aef56f729e5fca3478ca0ee634478 (diff)
downloadop-kernel-dev-077aa3b2db67dd43781e9ca1635e542696c39269.zip
op-kernel-dev-077aa3b2db67dd43781e9ca1635e542696c39269.tar.gz
target: add __releases annotation to target_release_cmd_kref
Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target')
-rw-r--r--drivers/target/target_core_transport.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/target/target_core_transport.c b/drivers/target/target_core_transport.c
index e06c136..4a00ed5 100644
--- a/drivers/target/target_core_transport.c
+++ b/drivers/target/target_core_transport.c
@@ -2418,6 +2418,7 @@ out:
EXPORT_SYMBOL(target_get_sess_cmd);
static void target_release_cmd_kref(struct kref *kref)
+ __releases(&se_cmd->se_sess->sess_cmd_lock)
{
struct se_cmd *se_cmd = container_of(kref, struct se_cmd, cmd_kref);
struct se_session *se_sess = se_cmd->se_sess;
OpenPOWER on IntegriCloud