[CIFS] Fix build break caused by change to new current_umask helper function
authorSteve French <sfrench@us.ibm.com>
Wed, 15 Apr 2009 03:09:39 +0000 (03:09 +0000)
committerSteve French <sfrench@us.ibm.com>
Fri, 17 Apr 2009 01:26:50 +0000 (01:26 +0000)
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/dir.c

index e937da7..461750e 100644 (file)
@@ -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,