Explorar o código

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

Signed-off-by: Steve French <sfrench@us.ibm.com>
Steve French %!s(int64=16) %!d(string=hai) anos
pai
achega
88dd47fff4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      fs/cifs/dir.c

+ 1 - 1
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,