projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9649491
)
target: add __releases annotation to target_release_cmd_kref
author
Christoph Hellwig
<hch@lst.de>
Thu, 26 Mar 2015 11:27:34 +0000
(12:27 +0100)
committer
Nicholas Bellinger
<nab@linux-iscsi.org>
Thu, 26 Mar 2015 21:52:37 +0000
(14:52 -0700)
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_transport.c
patch
|
blob
|
history
diff --git
a/drivers/target/target_core_transport.c
b/drivers/target/target_core_transport.c
index
e06c136
..
4a00ed5
100644
(file)
--- 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;