summaryrefslogtreecommitdiffstats
path: root/source/client
diff options
context:
space:
mode:
authorSteve French <sfrench@samba.org>2005-04-28 05:09:30 +0000
committerSteve French <sfrench@samba.org>2005-04-28 05:09:30 +0000
commit246008c16f0d2d355e5f84b1d2fe10bef49df0e8 (patch)
tree506a082b51ffae96574807aa6ebf4aff28ec9ff4 /source/client
parent50c032cc91a7e2524f98b02d6c0bb4cd0e434c80 (diff)
downloadsamba-246008c16f0d2d355e5f84b1d2fe10bef49df0e8.tar.gz
samba-246008c16f0d2d355e5f84b1d2fe10bef49df0e8.tar.xz
samba-246008c16f0d2d355e5f84b1d2fe10bef49df0e8.zip
r6505: Add missing remount flag handling
Diffstat (limited to 'source/client')
-rwxr-xr-xsource/client/mount.cifs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/client/mount.cifs.c b/source/client/mount.cifs.c
index ad56decb007..7ac4291f17d 100755
--- a/source/client/mount.cifs.c
+++ b/source/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 =