RE: [EXTERNAL] Re: [PATCH 4.19 013/247] cifs: Set CIFS_MOUNT_USE_PREFIX_PATH flag on setting cifs_sb->prepath.

From: Shyam Prasad
Date: Thu Apr 22 2021 - 11:36:23 EST


Hi Salvatore and Santiago,

Thanks for testing this out.

@Greg Kroah-Hartman: The reverted patch used in combination with Paulo's fix seems to fix both use cases.
Can we have both these taken in on stable kernels? Paulo's patch is needed only for kernels 5.10 and older.

Regards,
Shyam

-----Original Message-----
From: Salvatore Bonaccorso <salvatore.bonaccorso@xxxxxxxxx> On Behalf Of Salvatore Bonaccorso
Sent: Monday, April 19, 2021 10:39 PM
To: Shyam Prasad <Shyam.Prasad@xxxxxxxxxxxxx>
Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>; pc <pc@xxxxxx>; linux-kernel@xxxxxxxxxxxxxxx; stable@xxxxxxxxxxxxxxx; Aurelien Aptel <aaptel@xxxxxxxx>; Steven French <Steven.French@xxxxxxxxxxxxx>; Sasha Levin <sashal@xxxxxxxxxx>
Subject: Re: [EXTERNAL] Re: [PATCH 4.19 013/247] cifs: Set CIFS_MOUNT_USE_PREFIX_PATH flag on setting cifs_sb->prepath.

Hi Shyam,

On Mon, Apr 19, 2021 at 05:48:24AM +0000, Shyam Prasad wrote:
> <Including Paulo in this email thread>
>
> Hi Salvatore,
>
> Attached is a proposed fix from Paulo for older kernels.
> Can you please confirm that this works for you too?

I re-applied commit a738c93fb1c1 ("cifs: Set CIFS_MOUNT_USE_PREFIX_PATH flag on setting cifs_sb->prepath.") and on top of that your provided patch, and this seems to resolve the issue for the testcase I have at hand!

Regards,
Salvatore