commit | 2f6a4af028dbb392d55b261cafcb922dd7b7ffea | [log] [tgz] |
---|---|---|
author | Henrique Carvalho <henrique.carvalho@suse.com> | Thu Sep 18 22:44:34 2025 -0300 |
committer | Steve French <stfrench@microsoft.com> | Wed Oct 01 22:42:04 2025 -0500 |
tree | 6b800acb5118f246a76bb40fefc4d0ebf0b40537 | |
parent | 6c7fd184234336a3b998fdf8f8db51e970dd6071 [diff] |
smb: client: remove pointless cfid->has_lease check open_cached_dir() will only return a valid cfid, which has both has_lease = true and time != 0. Remove the pointless check of cfid->has_lease right after open_cached_dir() returns no error. Signed-off-by: Henrique Carvalho <henrique.carvalho@suse.com> Reviewed-by: Enzo Matsumiya <ematsumiya@suse.de> Signed-off-by: Steve French <stfrench@microsoft.com>