mount.cifs: don't pass "flag" options to the kernel
authorJeff Layton <jlayton@samba.org>
Wed, 28 Nov 2012 20:17:44 +0000 (15:17 -0500)
committerJeff Layton <jlayton@samba.org>
Mon, 3 Dec 2012 14:58:57 +0000 (09:58 -0500)
commitde299f69392c18dc71d207482566f38abc909837
treeb3354e77611846242d27be7d80a2f41d07da4c5b
parent8b6e0cc242fc62436b0dd073e393bbdd62f39a83
mount.cifs: don't pass "flag" options to the kernel

When certain options are passed to the mount helper, we want to turn
them into mountflags for the mount() syscall. There's no need to copy
them to the options string in that case though.

Signed-off-by: Jeff Layton <jlayton@samba.org>
mount.cifs.c