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)
commitd9345e0ae7cff25e9aed39d21f092dbb482dffec
treef3c5d8b5330ef82ab81046ca2b7bc7b4dc2b9a2a
parentc34fea5a636d98607ee6e41c78acc9d5ca8fb756
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