diff --git a/fs/smb/client/connect.c b/fs/smb/client/connect.c index 8b8475b4e262..18443d879c2d 100644 --- a/fs/smb/client/connect.c +++ b/fs/smb/client/connect.c @@ -2474,6 +2474,8 @@ static int match_tcon(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) return 0; if (tcon->nodelete != ctx->nodelete) return 0; + if (tcon->posix_extensions != ctx->linux_ext) + return 0; return 1; }