Commit 05800c02 authored by Steve French's avatar Steve French Committed by Steve French

Missing spin lock init

parent 4d078eba
......@@ -123,6 +123,9 @@ tconInfoAlloc(void)
ret_buf->tidStatus = CifsNew;
INIT_LIST_HEAD(&ret_buf->openFileList);
init_MUTEX(&ret_buf->tconSem);
#ifdef CONFIG_CIFS_STATS
ret_buf->stat_lock = SPIN_LOCK_UNLOCKED;
#endif
write_unlock(&GlobalSMBSeslock);
}
return ret_buf;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment