target/iscsi: Fix indentation in iscsi_target_start_negotiation()
This patch avoids that smatch complains about inconsistent indentation in iscsi_target_start_negotiation(). Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Reviewed-by: Hannes Reinecke <hare@suse.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Cc: Nicholas A. Bellinger <nab@linux-iscsi.org> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
This commit is contained in:
committed by
Nicholas Bellinger
parent
664a722b4f
commit
1efaa94939
@@ -1249,16 +1249,16 @@ int iscsi_target_start_negotiation(
|
|||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
if (conn->sock) {
|
if (conn->sock) {
|
||||||
struct sock *sk = conn->sock->sk;
|
struct sock *sk = conn->sock->sk;
|
||||||
|
|
||||||
write_lock_bh(&sk->sk_callback_lock);
|
write_lock_bh(&sk->sk_callback_lock);
|
||||||
set_bit(LOGIN_FLAGS_READY, &conn->login_flags);
|
set_bit(LOGIN_FLAGS_READY, &conn->login_flags);
|
||||||
write_unlock_bh(&sk->sk_callback_lock);
|
write_unlock_bh(&sk->sk_callback_lock);
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = iscsi_target_do_login(conn, login);
|
ret = iscsi_target_do_login(conn, login);
|
||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
cancel_delayed_work_sync(&conn->login_work);
|
cancel_delayed_work_sync(&conn->login_work);
|
||||||
cancel_delayed_work_sync(&conn->login_cleanup_work);
|
cancel_delayed_work_sync(&conn->login_cleanup_work);
|
||||||
iscsi_target_restore_sock_callbacks(conn);
|
iscsi_target_restore_sock_callbacks(conn);
|
||||||
|
|||||||
Reference in New Issue
Block a user