Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 297985
b: refs/heads/master
c: 5cfdddc
h: refs/heads/master
i:
  297983: d5e8fd9
v: v3
  • Loading branch information
Pavel Shilovsky authored and Steve French committed Mar 27, 2012
1 parent 498f53e commit b1969a7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8f09c3d8dbb8ba35c579e426b3f30bf7bafe0a85
refs/heads/master: 5cfdddcfc415b0a67be25a0dec28ea9b1a537397
7 changes: 5 additions & 2 deletions trunk/fs/cifs/connect.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ static const match_table_t cifs_mount_option_tokens = {
{ Opt_nobrl, "nobrl" },
{ Opt_nobrl, "nolock" },
{ Opt_forcemandatorylock, "forcemandatorylock" },
{ Opt_forcemandatorylock, "forcemand" },
{ Opt_setuids, "setuids" },
{ Opt_nosetuids, "nosetuids" },
{ Opt_dynperm, "dynperm" },
Expand Down Expand Up @@ -1326,9 +1327,11 @@ cifs_parse_mount_options(const char *mountdata, const char *devname,
break;
case Opt_nobrl:
vol->nobrl = 1;
/* turn off mandatory locking in mode
/*
* turn off mandatory locking in mode
* if remote locking is turned off since the
* local vfs will do advisory */
* local vfs will do advisory
*/
if (vol->file_mode ==
(S_IALLUGO & ~(S_ISUID | S_IXGRP)))
vol->file_mode = S_IALLUGO;
Expand Down

0 comments on commit b1969a7

Please sign in to comment.