git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85cc647
)
Fix mount options for ro, dir_mode, file_mode
author
Steve French
<sfrench@samba.org>
Fri, 20 Jun 2003 16:41:41 +0000
(16:41 +0000)
committer
Steve French
<sfrench@samba.org>
Fri, 20 Jun 2003 16:41:41 +0000
(16:41 +0000)
(This used to be commit
7e7cf0dd98ec8e28c02cb9e36064eaf098339801
)
source3/client/mount.cifs.c
patch
|
blob
|
history
diff --git
a/source3/client/mount.cifs.c
b/source3/client/mount.cifs.c
index 6edb06aedfb10611596025a3cff9a798b4cd61fa..9592dbdf96673099be77717e58072e8f08f0ae53 100755
(executable)
--- a/
source3/client/mount.cifs.c
+++ b/
source3/client/mount.cifs.c
@@
-377,7
+377,7
@@
int main(int argc, char ** argv)
test_opts = xstrdup(optarg);
break;*/
case 'r': /* mount readonly */
- flags |= MS_RDONLY;
;
+ flags |= MS_RDONLY;
break;
case 'U':
uuid = optarg;
@@
-389,7
+389,7
@@
int main(int argc, char ** argv)
printf ("mount: %s\n", version);
exit (0);*/
case 'w':
- flags &= ~MS_RDONLY;
;
+ flags &= ~MS_RDONLY;
break;
/* case 0:
break;