summaryrefslogtreecommitdiff
path: root/fs/namei.c
diff options
context:
space:
mode:
authorMeetakshi Setiya <msetiya@microsoft.com>2024-03-14 15:05:49 +0300
committerSteve French <stfrench@microsoft.com>2024-03-14 21:54:27 +0300
commitfc20c523211a38b87fc850a959cb2149e4fd64b0 (patch)
treed6a5d9294fa584471fb0368933985e28deb2142a /fs/namei.c
parentf1b8224b4e6ed59e7e6f5c548673c67410098d8d (diff)
downloadlinux-fc20c523211a38b87fc850a959cb2149e4fd64b0.tar.xz
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/namei.c')
0 files changed, 0 insertions, 0 deletions