mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 12:42:02 +00:00
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>
This commit is contained in:
parent
964949169e
commit
077aa3b2db
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user