commit | e183785f2529b4135f00a0330a3b08e7c86530c8 | [log] [tgz] |
---|---|---|
author | Paulo Alcantara <pc@cjr.nz> | Thu Aug 27 11:20:19 2020 -0300 |
committer | Steve French <stfrench@microsoft.com> | Fri Aug 28 12:27:33 2020 -0500 |
tree | fe00d92dac0b5e746b2a555f0590ba65aec21c0c | |
parent | d012a7190fc1fd72ed48911e77ca97ba4521bccd [diff] |
cifs: fix check of tcon dfs in smb1 For SMB1, the DFS flag should be checked against tcon->Flags rather than tcon->share_flags. While at it, add an is_tcon_dfs() helper to check for DFS capability in a more generic way. Signed-off-by: Paulo Alcantara (SUSE) <pc@cjr.nz> Signed-off-by: Steve French <stfrench@microsoft.com> Reviewed-by: Shyam Prasad N <nspmangalore@gmail.com>