cifs: all initializations for tcon should happen in tcon_info_alloc
Today, a few work structs inside tcon are initialized inside cifs_get_tcon and not in tcon_info_alloc. As a result, if a tcon is obtained from tcon_info_alloc, but not called as a part of cifs_get_tcon, we may trip over. Cc: <stable@vger.kernel.org> Signed-off-by:Shyam Prasad N <sprasad@microsoft.com> Reviewed-by:
Paulo Alcantara (Red Hat) <pc@manguebit.org> Signed-off-by:
Steve French <stfrench@microsoft.com>
Loading
Please register or sign in to comment