Re: [PATCH-v2 3/4] target: Fix change depth se_session reference usage

From: Sagi Grimberg
Date: Wed Jan 13 2016 - 11:45:34 EST



Also, it includes a bug-fix for iscsi-target where explicit
session shutdown in lio_tpg_shutdown_session() was not
obtaining se_portal_group->session_lock for both cases,
plus drop pointless wrapper.

It'd be better to move this to a dedicated patch IMO.

The other split I was going to suggest was target_get_session()
which you already took care of...