Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp2020156pxb; Mon, 12 Apr 2021 12:08:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzKH69ZzUvsgO0nhlv60EwRswEO4CGvopanOYibsHDTOwRs8pIVwo0j0Ki24zXwRPPXSyt2 X-Received: by 2002:a62:33c6:0:b029:225:5266:28df with SMTP id z189-20020a6233c60000b0290225526628dfmr25960732pfz.7.1618254501267; Mon, 12 Apr 2021 12:08:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618254501; cv=none; d=google.com; s=arc-20160816; b=C8pwSEYfypzPkT+hZS+2jr/3qUdADiC8NzWBWHrmUyCpe9wez9raf9wJefG+nd7MzP Pvidn61LKvlF9uHks93SNfpB+zZ82yfev581J2X75iMHiy/yNu2JzV5AgTXOK1KtPiiS MrGD494t3tA2wGkwzpuN5xGSQPCOO96skDOuxfYem5sJU1ZsWMvyftRDtwnJ4QhR3G8E aEFFLcrP0Q5aT1g5KU1y1lPE5WYkh+vAowRf5HOkJAO/YkmkTRjPhC1Dyo1ZOV21octR aS9CGRerSM+fmFKYde++GIZgaROTlpopw9ltLwYsGB3wsOn7fw131cvWxp1A/r5z660A xiYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=KuzqwpW2zsGOKUJNhIWNEAvCP0PP/KzVuQ4ZKvO5Fg8=; b=V++SYVq0gw7qoi0+Qp4ud5J/viqfXy5cEnZ+8Nb38BycKKnXPsTY1TLIbbhZGGG5WJ QRc8r+Xt+xegb61SUBq1CVm8sYmAdf9YznC9RdfN9N+jISh85UUTbrB4hG8fdafFvK0h w7UthFZ9gomSVXSR0UnY+BSz8hBwTtYGhGHdLkKaklSOX8srlwfYYn//7SENvlRom8ZX Mqa8BjToFiD6W+qS5V4XlNlMav1gh1PLXWoqaEckDnT50hdpQzBi/Cu47w80qqvfUoXW 7m8xine4d7zFzmuQZMZO5YRjoEuF8x61U0PmMAC1g9pl/9zg4WDZFSaqhe2ET3i4ClBY y6Eg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=LYhpkn8g; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l2si14813570plt.291.2021.04.12.12.08.08; Mon, 12 Apr 2021 12:08:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=LYhpkn8g; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237029AbhDLIBy (ORCPT + 99 others); Mon, 12 Apr 2021 04:01:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:52958 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230034AbhDLIBx (ORCPT ); Mon, 12 Apr 2021 04:01:53 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 9D04860231; Mon, 12 Apr 2021 08:01:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1618214496; bh=lQJ5xOkKaQ0nfBE12zDwupltjDzg5ecLmKM8bCo/Gpg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=LYhpkn8gAU+PZMIQ2Si0Wo2sWgmdOxK55tbjwyYs7w8R6pLiO4RojXh9LnSjo2Qg8 mq5G1dh4oluDs0xyK9BG8pIC8kHm3zG5FPvubUF/1ubhMZH+qdYDGAlUwZTINC628R xOJPKcvzNrZYhCnLrt0HUjVs+dKfZgqM5M+kDyMc= Date: Mon, 12 Apr 2021 10:01:33 +0200 From: Greg Kroah-Hartman To: Salvatore Bonaccorso Cc: Shyam Prasad , "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" , Aurelien Aptel , Steven French , Sasha Levin Subject: Re: [EXTERNAL] Re: [PATCH 4.19 013/247] cifs: Set CIFS_MOUNT_USE_PREFIX_PATH flag on setting cifs_sb->prepath. Message-ID: References: <20210301161031.684018251@linuxfoundation.org> <20210301161032.337414143@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 08, 2021 at 01:41:05PM +0200, Salvatore Bonaccorso wrote: > Hi Shyam, > > On Tue, Apr 06, 2021 at 05:01:17PM +0200, Salvatore Bonaccorso wrote: > > Hi, > > > > On Tue, Apr 06, 2021 at 02:00:48PM +0000, Shyam Prasad wrote: > > > Hi Greg, > > > We'll need to debug this further to understand what's going on. > > > > Greg asked it the same happens with 5.4 as well, I do not know I was > > not able to test 5.4.y (yet) but only 5.10.y and 4.19.y. > > > > > > Hi Salvatore, > > > Any chance that you'll be able to provide us the cifsFYI logs from the time of mount failure? > > > https://wiki.samba.org/index.php/LinuxCIFS_troubleshooting#Enabling_Debugging > > > > Please find it attached. Is this enough information? > > > > The mentioned home DFS link 'home' is a DFS link to > > msdfs:SECONDHOST\REDACTED on a Samba host. > > > > The mount is triggered as > > > > mount -t cifs //HOSTIP/REDACTED/home /mnt --verbose -o username='REDACTED,domain=DOMAIN' > > So I can confirm the issue is both present in 4.19.185 and 5.4.110 > upstream (without any Debian patches applied, we do not anyway apply > any cifs related one on top of the respetive upstream version). > > The issue is not present in 5.10.28. > > So I think there are commits as dependency of a738c93fb1c1 ("cifs: Set > CIFS_MOUNT_USE_PREFIX_PATH flag on setting cifs_sb->prepath.") which > are required and not applied in the released before 5.10.y which make > introducing the regression. Ok, I've dropped this from 5.4 and older kernel trees now, thanks for the report. greg k-h