Message ID | 20181115142103.24617-7-aaptel@suse.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | DFS failover | expand |
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index 38ab0fca49e1..9534f46e6ad2 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h @@ -1508,6 +1508,7 @@ struct dfs_info3_param { int ref_flag; char *path_name; char *node_name; + int ttl; }; /* diff --git a/fs/cifs/misc.c b/fs/cifs/misc.c index 8a41f4eba726..7d8d9423d5ba 100644 --- a/fs/cifs/misc.c +++ b/fs/cifs/misc.c @@ -732,6 +732,8 @@ parse_dfs_referrals(struct get_dfs_referral_rsp *rsp, u32 rsp_size, goto parse_DFS_referrals_exit; } + node->ttl = le32_to_cpu(ref->TimeToLive); + ref++; }