提交 077aa3b2 编写于 作者: C Christoph Hellwig 提交者: Nicholas Bellinger

target: add __releases annotation to target_release_cmd_kref

Signed-off-by: NChristoph Hellwig <hch@lst.de>
Signed-off-by: NNicholas Bellinger <nab@linux-iscsi.org>
上级 96494916
......@@ -2418,6 +2418,7 @@ int target_get_sess_cmd(struct se_session *se_sess, struct se_cmd *se_cmd,
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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册