From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CD1C2C43460 for ; Mon, 12 Apr 2021 08:01:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9697D6121F for ; Mon, 12 Apr 2021 08:01:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237055AbhDLIBy (ORCPT ); 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