Clarify locking comment for scst_alloc_set_UA()

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5133 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2013-11-20 04:12:42 +00:00
parent 1463890112
commit 15756cbfb5

View File

@@ -7862,7 +7862,10 @@ out:
return res;
}
/* Called under tgt_dev_lock and BH off */
/*
* Called under tgt_dev_lock and BH off, except when guaranteed that
* there's only one user of tgt_dev.
*/
static void scst_alloc_set_UA(struct scst_tgt_dev *tgt_dev,
const uint8_t *sense, int sense_len, int flags)
{