summaryrefslogtreecommitdiff
path: root/fs/fs_context.c
diff options
context:
space:
mode:
authorShyam Prasad N <sprasad@microsoft.com>2025-06-30 23:09:34 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-07-10 16:08:52 +0200
commit22229bcdbf0132b6e22af8ce9df81f159b51e4e3 (patch)
treef1ea3e153744fa76c777cb10a7a436b1f5915f5b /fs/fs_context.c
parentea1b0afdf69f471969952a1212699c15fedc632c (diff)
cifs: all initializations for tcon should happen in tcon_info_alloc
commit 74ebd02163fde05baa23129e06dde4b8f0f2377a upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/fs_context.c')
0 files changed, 0 insertions, 0 deletions