Skip to content

Commit

Permalink
ksmbd: work 1
Browse files Browse the repository at this point in the history
Signed-off-by: Namjae Jeon <[email protected]>
  • Loading branch information
namjaejeon committed Nov 2, 2024
1 parent 9404e93 commit 71ebe0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mgmt/user_session.c
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,6 @@ void ksmbd_sessions_deregister(struct ksmbd_conn *conn)
}
}
}
up_write(&sessions_table_lock);

down_write(&conn->session_lock);
xa_for_each(&conn->sessions, id, sess) {
Expand All @@ -266,6 +265,7 @@ void ksmbd_sessions_deregister(struct ksmbd_conn *conn)
}
}
up_write(&conn->session_lock);
up_write(&sessions_table_lock);
}

struct ksmbd_session *ksmbd_session_lookup(struct ksmbd_conn *conn,
Expand Down

0 comments on commit 71ebe0b

Please sign in to comment.