diff --git a/[refs] b/[refs] index 894f6b4a71d2..f185dd1af701 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: bc8cd4390c9129fbd286b10fa99972dfb68cd069 +refs/heads/master: 88dd47fff4891545bfcfdf39146dde8380771766 diff --git a/trunk/fs/cifs/dir.c b/trunk/fs/cifs/dir.c index e937da7522ef..461750e01364 100644 --- a/trunk/fs/cifs/dir.c +++ b/trunk/fs/cifs/dir.c @@ -661,7 +661,7 @@ cifs_lookup(struct inode *parent_dir_inode, struct dentry *direntry, if (!((nd->intent.open.flags & O_CREAT) && (nd->intent.open.flags & O_EXCL))) { mode = nd->intent.open.create_mode & - ~current->fs->umask; + ~current_umask(); rc = cifs_posix_open(full_path, &newInode, parent_dir_inode->i_sb, mode, nd->intent.open.flags, &oplock,