aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/cifs/inode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/inode.c b/fs/cifs/inode.c
index e8773461c7f7..411c1f7f84da 100644
--- a/fs/cifs/inode.c
+++ b/fs/cifs/inode.c
@@ -770,6 +770,7 @@ int cifs_mkdir(struct inode *inode, struct dentry *direntry, int mode)
770 -1, -1, local_nls); */ 770 -1, -1, local_nls); */
771 if(direntry->d_inode) { 771 if(direntry->d_inode) {
772 direntry->d_inode->i_mode = mode; 772 direntry->d_inode->i_mode = mode;
773 direntry->d_inode->i_mode |= S_IFDIR;
773 if(cifs_sb->mnt_cifs_flags & 774 if(cifs_sb->mnt_cifs_flags &
774 CIFS_MOUNT_SET_UID) { 775 CIFS_MOUNT_SET_UID) {
775 direntry->d_inode->i_uid = 776 direntry->d_inode->i_uid =