]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: Make devname param optional in cifs_compose_mount_options()
authorPaulo Alcantara <palcantara@suse.de>
Wed, 14 Nov 2018 16:18:22 +0000 (14:18 -0200)
committerSteve French <stfrench@microsoft.com>
Mon, 24 Dec 2018 05:05:08 +0000 (23:05 -0600)
commit362c887512a4ee06a123d906c49cbd5adf2d10c6
treef3c5d8b5330ef82ab81046ca2b7bc7b4dc2b9a2a
parent32486ba10a36172e122d579762da70ec5e5a8cf6
cifs: Make devname param optional in cifs_compose_mount_options()

If we only want to get the mount options strings, do not return the
devname.

For DFS failover, we'll be passing the DFS full path down to
cifs_mount() rather than the devname.

Signed-off-by: Paulo Alcantara <palcantara@suse.de>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifs_dfs_ref.c