From: Christoph Hellwig Date: Thu, 26 Mar 2015 11:27:34 +0000 (+0100) Subject: target: add __releases annotation to target_release_cmd_kref X-Git-Tag: firefly_0821_release~176^2~1863^2~55 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=077aa3b2db67dd43781e9ca1635e542696c39269;p=firefly-linux-kernel-4.4.55.git target: add __releases annotation to target_release_cmd_kref Signed-off-by: Christoph Hellwig Signed-off-by: Nicholas Bellinger --- diff --git a/drivers/target/target_core_transport.c b/drivers/target/target_core_transport.c index e06c136ff839..4a00ed5c1880 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;