aboutsummaryrefslogtreecommitdiffstats
path: root/fs/smb/client/connect.c
diff options
context:
space:
mode:
authorMeetakshi Setiya <msetiya@microsoft.com>2024-03-14 08:05:49 -0400
committerSteve French <stfrench@microsoft.com>2024-03-14 13:54:27 -0500
commitfc20c523211a38b87fc850a959cb2149e4fd64b0 (patch)
treed6a5d9294fa584471fb0368933985e28deb2142a /fs/smb/client/connect.c
parentcifs: open_cached_dir(): add FILE_READ_EA to desired access (diff)
downloadlinux-rng-fc20c523211a38b87fc850a959cb2149e4fd64b0.tar.xz
linux-rng-fc20c523211a38b87fc850a959cb2149e4fd64b0.zip
cifs: fixes for get_inode_info
Fix potential memory leaks, add error checking, remove unnecessary initialisation of status_file_deleted and do not use cifs_iget() to get inode in reparse_info_to_fattr since fattrs may not be fully set. Fixes: ffceb7640cbf ("smb: client: do not defer close open handles to deleted files") Reported-by: Paulo Alcantara <pc@manguebit.com> Signed-off-by: Meetakshi Setiya <msetiya@microsoft.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/smb/client/connect.c')
0 files changed, 0 insertions, 0 deletions