mount: for cifs, dont insert "ip=ADDR" option if user gave it explicitly
authorDenys Vlasenko <vda.linux@googlemail.com>
Tue, 27 Sep 2016 19:02:35 +0000 (21:02 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 27 Sep 2016 19:02:35 +0000 (21:02 +0200)
commitb09ab448b8553742ce0bf1a7df806dcac84bca7c
tree2a2ab37a5517ffb3e6ceaec45717592373027abb
parentdea3bdbefe6f158fd91ab28ac31b88ec6b8aa448
mount: for cifs, dont insert "ip=ADDR" option if user gave it explicitly

This makes it possible to use scoped IPv6 addresses:

mount -t cifs -o ip=<ADDR>%<iface_id> //<ADDR>/test test

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
util-linux/mount.c