diff options
author | Steve French <sfrench@samba.org> | 2005-04-28 05:09:30 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:56:44 -0500 |
commit | ae816fe9f95b78d2c7d99304dd1c7e4c2820d1b9 (patch) | |
tree | 9a9af5d9501f2baba6046da1a38041273806dae4 | |
parent | ed1f7121a39d863066ef47e985b77fe3dbedbc9b (diff) | |
download | samba-ae816fe9f95b78d2c7d99304dd1c7e4c2820d1b9.tar.gz samba-ae816fe9f95b78d2c7d99304dd1c7e4c2820d1b9.tar.bz2 samba-ae816fe9f95b78d2c7d99304dd1c7e4c2820d1b9.zip |
r6505: Add missing remount flag handling
(This used to be commit 37685979bb4075a42018b89f3aee230fead5a7a4)
-rwxr-xr-x | source3/client/mount.cifs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/client/mount.cifs.c b/source3/client/mount.cifs.c index ad56decb00..7ac4291f17 100755 --- a/source3/client/mount.cifs.c +++ b/source3/client/mount.cifs.c @@ -494,6 +494,8 @@ static int parse_options(char * options, int * filesys_flags) *filesys_flags |= MS_RDONLY; } else if (strncmp(data, "rw", 2) == 0) { *filesys_flags &= ~MS_RDONLY; + } else if (strncmp(data, "remount", 7) == 0) { + *filesys_flags |= MS_REMOUNT; } /* else if (strnicmp(data, "port", 4) == 0) { if (value && *value) { vol->port = |