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
Kirill Smelkov
linux
Commits
0f089059
Commit
0f089059
authored
May 03, 2003
by
Steve French
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://linux.bkbits.net/linux-2.5
into hostme.bitkeeper.com:/ua/repos/c/cifs/linux-2.5cifs
parents
efeed5ae
1f9ccaab
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
9 deletions
+18
-9
fs/cifs/CHANGES
fs/cifs/CHANGES
+5
-0
fs/cifs/cifs_fs_sb.h
fs/cifs/cifs_fs_sb.h
+2
-2
fs/cifs/cifsfs.c
fs/cifs/cifsfs.c
+11
-7
No files found.
fs/cifs/CHANGES
View file @
0f089059
Version 0.76
------------
Clean up options displayed in /proc/mounts by show_options to
be more consistent with other filesystems.
Version 0.75
------------
Fix delete of readonly file to Windows servers. Reflect
...
...
fs/cifs/cifs_fs_sb.h
View file @
0f089059
fs/cifs/cifsfs.c
View file @
0f089059
...
...
@@ -209,8 +209,8 @@ cifs_destroy_inode(struct inode *inode)
/*
* cifs_show_options() is for displaying mount options in /proc/mounts.
*
It tries to avoid showing settings that were not changed from their
*
defaults
.
*
Not all settable options are displayed but most of the important
*
ones are
.
*/
static
int
cifs_show_options
(
struct
seq_file
*
s
,
struct
vfsmount
*
m
)
...
...
@@ -219,14 +219,18 @@ cifs_show_options(struct seq_file *s, struct vfsmount *m)
cifs_sb
=
CIFS_SB
(
m
->
mnt_sb
);
if
(
cifs_sb
)
if
(
cifs_sb
)
{
if
(
cifs_sb
->
tcon
)
{
seq_printf
(
s
,
", TARGET: %s "
,
cifs_sb
->
tcon
->
treeName
);
seq_printf
(
s
,
"FS TYPE: %s "
,
cifs_sb
->
tcon
->
nativeFileSystem
);
seq_printf
(
s
,
",unc=%s"
,
cifs_sb
->
tcon
->
treeName
);
if
(
cifs_sb
->
tcon
->
ses
->
userName
)
seq_printf
(
s
,
"
USER: %s
"
,
seq_printf
(
s
,
"
,username=%s
"
,
cifs_sb
->
tcon
->
ses
->
userName
);
if
(
cifs_sb
->
tcon
->
ses
->
domainName
)
seq_printf
(
s
,
",domain=%s"
,
cifs_sb
->
tcon
->
ses
->
domainName
);
}
seq_printf
(
s
,
",rsize=%d"
,
cifs_sb
->
rsize
);
seq_printf
(
s
,
",wsize=%d"
,
cifs_sb
->
wsize
);
}
return
0
;
}
...
...
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