Thread (7 messages) 7 messages, 3 authors, 2021-05-04

Re: [PATCH v2] cifs: fix regression when mounting shares with prefix paths

From: Paulo Alcantara <hidden>
Date: 2021-05-04 16:48:01
Also in: linux-cifs

David Disseldorp [off-list ref] writes:
On Mon,  3 May 2021 11:55:26 -0300, Paulo Alcantara wrote:
quoted
-	rc = cifs_setup_volume_info(cifs_sb->ctx, NULL, old_ctx->UNC);
+	rc = cifs_setup_volume_info(cifs_sb->ctx, NULL, NULL);
IIUC, with the new behaviour, this call becomes pretty much an
	if (!cifs_sb->ctx->username)
		root = ERR_PTR(-EINVAL);
Yeah.  We should get rid of the damn thing at some point.  I've just
tried to keep the logic we currently have in fs/cifs/connect.c by
composing new options based upon the chased DFS referrals.

Thanks for pointing it out!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help