cifs: Fix xid leak in cifs_get_file_info_unix()
If stardup the symlink target failed, should free the xid, otherwise the xid will be leaked. Fixes: 76894f3e ("cifs: improve symlink handling for smb2+") Reviewed-by: NPaulo Alcantara (SUSE) <pc@cjr.nz> Signed-off-by: NZhang Xiaoxu <zhangxiaoxu5@huawei.com> Signed-off-by: NSteve French <stfrench@microsoft.com>
Showing
想要评论请 注册 或 登录