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
5206efd6
Commit
5206efd6
authored
Jul 26, 2011
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cifs: propagate umode_t
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
dacd0e7b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
fs/cifs/cifs_fs_sb.h
fs/cifs/cifs_fs_sb.h
+2
-2
fs/cifs/cifsfs.c
fs/cifs/cifsfs.c
+1
-1
fs/cifs/cifsglob.h
fs/cifs/cifsglob.h
+2
-2
fs/cifs/connect.c
fs/cifs/connect.c
+1
-1
No files found.
fs/cifs/cifs_fs_sb.h
View file @
5206efd6
...
...
@@ -59,8 +59,8 @@ struct cifs_sb_info {
gid_t
mnt_gid
;
uid_t
mnt_backupuid
;
gid_t
mnt_backupgid
;
mode_t
mnt_file_mode
;
mode_t
mnt_dir_mode
;
u
mode_t
mnt_file_mode
;
u
mode_t
mnt_dir_mode
;
unsigned
int
mnt_cifs_flags
;
char
*
mountdata
;
/* options received at mount time or via DFS refs */
struct
backing_dev_info
bdi
;
...
...
fs/cifs/cifsfs.c
View file @
5206efd6
...
...
@@ -393,7 +393,7 @@ cifs_show_options(struct seq_file *s, struct vfsmount *m)
cifs_show_address
(
s
,
tcon
->
ses
->
server
);
if
(
!
tcon
->
unix_ext
)
seq_printf
(
s
,
",file_mode=0%
o,dir_mode=0%
o"
,
seq_printf
(
s
,
",file_mode=0%
ho,dir_mode=0%h
o"
,
cifs_sb
->
mnt_file_mode
,
cifs_sb
->
mnt_dir_mode
);
if
(
tcon
->
seal
)
...
...
fs/cifs/cifsglob.h
View file @
5206efd6
...
...
@@ -169,8 +169,8 @@ struct smb_vol {
gid_t
linux_gid
;
uid_t
backupuid
;
gid_t
backupgid
;
mode_t
file_mode
;
mode_t
dir_mode
;
u
mode_t
file_mode
;
u
mode_t
dir_mode
;
unsigned
secFlg
;
bool
retry
:
1
;
bool
intr
:
1
;
...
...
fs/cifs/connect.c
View file @
5206efd6
...
...
@@ -2819,7 +2819,7 @@ void cifs_setup_cifs_sb(struct smb_vol *pvolume_info,
cifs_sb
->
mnt_backupgid
=
pvolume_info
->
backupgid
;
cifs_sb
->
mnt_file_mode
=
pvolume_info
->
file_mode
;
cifs_sb
->
mnt_dir_mode
=
pvolume_info
->
dir_mode
;
cFYI
(
1
,
"file mode: 0x%
x dir mode: 0x%
x"
,
cFYI
(
1
,
"file mode: 0x%
hx dir mode: 0x%h
x"
,
cifs_sb
->
mnt_file_mode
,
cifs_sb
->
mnt_dir_mode
);
cifs_sb
->
actimeo
=
pvolume_info
->
actimeo
;
...
...
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