]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cifsd: fix wrong use of rw semaphore in __session_create()
authorNamjae Jeon <namjae.jeon@samsung.com>
Tue, 30 Mar 2021 03:38:03 +0000 (12:38 +0900)
committerSteve French <stfrench@microsoft.com>
Mon, 19 Apr 2021 00:20:50 +0000 (19:20 -0500)
commit1b6087f3d3efa305953c5fe4f11d66a7feb670fd
treea8ce7285973404c513eaccfab88940cbbd2a2188
parent517b8b1017ebc1130b5e0b0f5616018f29a20eb4
cifsd: fix wrong use of rw semaphore in __session_create()

Adding list to session table should be protected by
down_write/up_write().

Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifsd/mgmt/user_session.c