From 0f7423dca920b91d02faf63b6ff659e3f09a0e05 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Tue, 18 Dec 2012 09:14:10 +0000 Subject: [PATCH] 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 --- scst/include/scst.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scst/include/scst.h b/scst/include/scst.h index e7f9d83ec..f26ca4b54 100644 --- a/scst/include/scst.h +++ b/scst/include/scst.h @@ -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);