summaryrefslogtreecommitdiffstats
path: root/fs/cifs/dir.c
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2009-04-15 05:09:39 +0200
committerSteve French <sfrench@us.ibm.com>2009-04-17 03:26:50 +0200
commit88dd47fff4891545bfcfdf39146dde8380771766 (patch)
tree0a2b71229c1c4d94ae82a303294afcca5847891f /fs/cifs/dir.c
parent[CIFS] Fix sparse warnings (diff)
downloadlinux-88dd47fff4891545bfcfdf39146dde8380771766.tar.xz
linux-88dd47fff4891545bfcfdf39146dde8380771766.zip
[CIFS] Fix build break caused by change to new current_umask helper function
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/dir.c')
-rw-r--r--fs/cifs/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/dir.c b/fs/cifs/dir.c
index e937da7522ef..461750e01364 100644
--- a/fs/cifs/dir.c
+++ b/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,