mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-10 07:50:04 +00:00
cifs: propagate umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
dacd0e7b39
commit
5206efd62c
@ -59,8 +59,8 @@ struct cifs_sb_info {
|
|||||||
gid_t mnt_gid;
|
gid_t mnt_gid;
|
||||||
uid_t mnt_backupuid;
|
uid_t mnt_backupuid;
|
||||||
gid_t mnt_backupgid;
|
gid_t mnt_backupgid;
|
||||||
mode_t mnt_file_mode;
|
umode_t mnt_file_mode;
|
||||||
mode_t mnt_dir_mode;
|
umode_t mnt_dir_mode;
|
||||||
unsigned int mnt_cifs_flags;
|
unsigned int mnt_cifs_flags;
|
||||||
char *mountdata; /* options received at mount time or via DFS refs */
|
char *mountdata; /* options received at mount time or via DFS refs */
|
||||||
struct backing_dev_info bdi;
|
struct backing_dev_info bdi;
|
||||||
|
@ -393,7 +393,7 @@ cifs_show_options(struct seq_file *s, struct vfsmount *m)
|
|||||||
cifs_show_address(s, tcon->ses->server);
|
cifs_show_address(s, tcon->ses->server);
|
||||||
|
|
||||||
if (!tcon->unix_ext)
|
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%ho",
|
||||||
cifs_sb->mnt_file_mode,
|
cifs_sb->mnt_file_mode,
|
||||||
cifs_sb->mnt_dir_mode);
|
cifs_sb->mnt_dir_mode);
|
||||||
if (tcon->seal)
|
if (tcon->seal)
|
||||||
|
@ -169,8 +169,8 @@ struct smb_vol {
|
|||||||
gid_t linux_gid;
|
gid_t linux_gid;
|
||||||
uid_t backupuid;
|
uid_t backupuid;
|
||||||
gid_t backupgid;
|
gid_t backupgid;
|
||||||
mode_t file_mode;
|
umode_t file_mode;
|
||||||
mode_t dir_mode;
|
umode_t dir_mode;
|
||||||
unsigned secFlg;
|
unsigned secFlg;
|
||||||
bool retry:1;
|
bool retry:1;
|
||||||
bool intr:1;
|
bool intr:1;
|
||||||
|
@ -2819,7 +2819,7 @@ void cifs_setup_cifs_sb(struct smb_vol *pvolume_info,
|
|||||||
cifs_sb->mnt_backupgid = pvolume_info->backupgid;
|
cifs_sb->mnt_backupgid = pvolume_info->backupgid;
|
||||||
cifs_sb->mnt_file_mode = pvolume_info->file_mode;
|
cifs_sb->mnt_file_mode = pvolume_info->file_mode;
|
||||||
cifs_sb->mnt_dir_mode = pvolume_info->dir_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%hx",
|
||||||
cifs_sb->mnt_file_mode, cifs_sb->mnt_dir_mode);
|
cifs_sb->mnt_file_mode, cifs_sb->mnt_dir_mode);
|
||||||
|
|
||||||
cifs_sb->actimeo = pvolume_info->actimeo;
|
cifs_sb->actimeo = pvolume_info->actimeo;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user