Skip to content

Commit ad35f16

Browse files
darkrain42smfrench
authored andcommitted
SMB3: Honor lease disabling for multiuser mounts
Fixes: 3e7a02d ("smb3: allow disabling requesting leases") 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 00dfbc2 commit ad35f16

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fs/cifs/connect.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5306,6 +5306,7 @@ 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->no_lease = master_tcon->no_lease;
53095310
vol_info->resilient = master_tcon->use_resilient;
53105311
vol_info->persistent = master_tcon->use_persistent;
53115312
vol_info->no_linux_ext = !master_tcon->unix_ext;

0 commit comments

Comments
 (0)