cifs: fixes for get_inode_info
[ Upstream commit fc20c523 ] 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: ffceb764 ("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> Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please register or sign in to comment