Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
e503ef53
Commit
e503ef53
authored
May 14, 2004
by
Steve French
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://cifs.bkbits.net/linux-2.5cifs
into stevef95.austin.ibm.com:/home/stevef/linux-2.5cifs
parents
1147e4a7
33a393ea
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
fs/cifs/cifsfs.h
fs/cifs/cifsfs.h
+1
-1
fs/cifs/connect.c
fs/cifs/connect.c
+8
-0
No files found.
fs/cifs/cifsfs.h
View file @
e503ef53
...
...
@@ -93,5 +93,5 @@ extern int cifs_setxattr(struct dentry *, const char *, const void *,
size_t
,
int
);
extern
ssize_t
cifs_getxattr
(
struct
dentry
*
,
const
char
*
,
void
*
,
size_t
);
extern
ssize_t
cifs_listxattr
(
struct
dentry
*
,
char
*
,
size_t
);
#define CIFS_VERSION "1.1
3
"
#define CIFS_VERSION "1.1
4
"
#endif
/* _CIFSFS_H */
fs/cifs/connect.c
View file @
e503ef53
...
...
@@ -63,6 +63,7 @@ struct smb_vol {
mode_t
dir_mode
;
int
rw
:
1
;
int
retry
:
1
;
int
intr
:
1
;
unsigned
int
rsize
;
unsigned
int
wsize
;
unsigned
int
sockopt
;
...
...
@@ -699,6 +700,7 @@ cifs_parse_mount_options(char *options, const char *devname, struct smb_vol *vol
(
strnicmp
(
data
,
"exec"
,
4
)
==
0
)
||
(
strnicmp
(
data
,
"noexec"
,
6
)
==
0
)
||
(
strnicmp
(
data
,
"nodev"
,
5
)
==
0
)
||
(
strnicmp
(
data
,
"noauto"
,
6
)
==
0
)
||
(
strnicmp
(
data
,
"dev"
,
3
)
==
0
))
{
/* The mount tool or mount.cifs helper (if present)
uses these opts to set flags, and the flags are read
...
...
@@ -717,6 +719,12 @@ cifs_parse_mount_options(char *options, const char *devname, struct smb_vol *vol
vol
->
retry
=
0
;
}
else
if
(
strnicmp
(
data
,
"nosoft"
,
6
)
==
0
)
{
vol
->
retry
=
1
;
}
else
if
(
strnicmp
(
data
,
"nointr"
,
6
)
==
0
)
{
vol
->
intr
=
0
;
}
else
if
(
strnicmp
(
data
,
"intr"
,
4
)
==
0
)
{
vol
->
intr
=
1
;
}
else
if
(
strnicmp
(
data
,
"noac"
,
4
)
==
0
)
{
printk
(
KERN_WARNING
"CIFS: Mount option noac not supported. Instead set /proc/fs/cifs/LookupCacheEnabled to 0
\n
"
);
}
else
printk
(
KERN_WARNING
"CIFS: Unknown mount option %s
\n
"
,
data
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment