Commit 88dd47ff authored by Steve French's avatar Steve French

[CIFS] Fix build break caused by change to new current_umask helper function

Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
parent bc8cd439
...@@ -661,7 +661,7 @@ cifs_lookup(struct inode *parent_dir_inode, struct dentry *direntry, ...@@ -661,7 +661,7 @@ cifs_lookup(struct inode *parent_dir_inode, struct dentry *direntry,
if (!((nd->intent.open.flags & O_CREAT) && if (!((nd->intent.open.flags & O_CREAT) &&
(nd->intent.open.flags & O_EXCL))) { (nd->intent.open.flags & O_EXCL))) {
mode = nd->intent.open.create_mode & mode = nd->intent.open.create_mode &
~current->fs->umask; ~current_umask();
rc = cifs_posix_open(full_path, &newInode, rc = cifs_posix_open(full_path, &newInode,
parent_dir_inode->i_sb, mode, parent_dir_inode->i_sb, mode,
nd->intent.open.flags, &oplock, nd->intent.open.flags, &oplock,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment