scst: Rename scst_session.tgt_priv into sess_tgt_priv to minimize diffs with the trunk

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4648 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2012-12-18 09:14:10 +00:00
parent 1f17f29658
commit 0f7423dca9

View File

@@ -1561,7 +1561,7 @@ struct scst_session {
struct scst_tgt *tgt; /* corresponding target */
/* Used for storage of target driver private stuff */
void *tgt_priv;
void *sess_tgt_priv;
/* session's async flags */
unsigned long sess_aflags;
@@ -2942,13 +2942,13 @@ void scst_update_hw_pending_start(struct scst_cmd *cmd);
*/
static inline void *scst_sess_get_tgt_priv(struct scst_session *sess)
{
return sess->tgt_priv;
return sess->sess_tgt_priv;
}
static inline void scst_sess_set_tgt_priv(struct scst_session *sess,
void *val)
{
sess->tgt_priv = val;
sess->sess_tgt_priv = val;
}
uint16_t scst_lookup_tg_id(struct scst_device *dev, struct scst_tgt *tgt);