summaryrefslogtreecommitdiff
path: root/fs/cifs/cifsfs.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-07-26 03:22:14 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-01-03 22:55:09 -0500
commit5206efd62ce49cf5c7940d81c22bc556fc843de2 (patch)
tree4cb981a87d6981cd9746953d0d9224403d29c887 /fs/cifs/cifsfs.c
parentdacd0e7b392dfaf888461741dbcaccf8b6a15bac (diff)
downloadlinux-stable-5206efd62ce49cf5c7940d81c22bc556fc843de2.tar.gz
linux-stable-5206efd62ce49cf5c7940d81c22bc556fc843de2.tar.bz2
linux-stable-5206efd62ce49cf5c7940d81c22bc556fc843de2.zip
cifs: propagate umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/cifs/cifsfs.c')
-rw-r--r--fs/cifs/cifsfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c
index 8f1fe324162b..5bb961c13c4d 100644
--- a/fs/cifs/cifsfs.c
+++ b/fs/cifs/cifsfs.c
@@ -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%ho",
cifs_sb->mnt_file_mode,
cifs_sb->mnt_dir_mode);
if (tcon->seal)