Skip to content

Commit 00dfbc2

Browse files
darkrain42smfrench
authored andcommitted
SMB3: Honor persistent/resilient handle flags for multiuser mounts
Without this: - persistent handles will only be enabled for per-user tcons if the server advertises the 'Continuous Availabity' capability - resilient handles would never be enabled for per-user tcons Signed-off-by: Paul Aurich <[email protected]> CC: Stable <[email protected]> Signed-off-by: Steve French <[email protected]> Reviewed-by: Aurelien Aptel <[email protected]>
1 parent cc15461 commit 00dfbc2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

fs/cifs/connect.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5306,6 +5306,8 @@ cifs_construct_tcon(struct cifs_sb_info *cifs_sb, kuid_t fsuid)
53065306
vol_info->nocase = master_tcon->nocase;
53075307
vol_info->nohandlecache = master_tcon->nohandlecache;
53085308
vol_info->local_lease = master_tcon->local_lease;
5309+
vol_info->resilient = master_tcon->use_resilient;
5310+
vol_info->persistent = master_tcon->use_persistent;
53095311
vol_info->no_linux_ext = !master_tcon->unix_ext;
53105312
vol_info->sectype = master_tcon->ses->sectype;
53115313
vol_info->sign = master_tcon->ses->sign;

0 commit comments

Comments
 (0)