diff options
Diffstat (limited to 'fs/xfs')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_iops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/linux-2.6/xfs_iops.c b/fs/xfs/linux-2.6/xfs_iops.c index 631d0137551e..6075382336d7 100644 --- a/fs/xfs/linux-2.6/xfs_iops.c +++ b/fs/xfs/linux-2.6/xfs_iops.c | |||
@@ -230,7 +230,7 @@ xfs_vn_mknod( | |||
230 | } | 230 | } |
231 | 231 | ||
232 | if (IS_POSIXACL(dir) && !default_acl) | 232 | if (IS_POSIXACL(dir) && !default_acl) |
233 | mode &= ~current->fs->umask; | 233 | mode &= ~current_umask(); |
234 | 234 | ||
235 | xfs_dentry_to_name(&name, dentry); | 235 | xfs_dentry_to_name(&name, dentry); |
236 | error = xfs_create(XFS_I(dir), &name, mode, rdev, &ip, NULL); | 236 | error = xfs_create(XFS_I(dir), &name, mode, rdev, &ip, NULL); |
@@ -404,7 +404,7 @@ xfs_vn_symlink( | |||
404 | mode_t mode; | 404 | mode_t mode; |
405 | 405 | ||
406 | mode = S_IFLNK | | 406 | mode = S_IFLNK | |
407 | (irix_symlink_mode ? 0777 & ~current->fs->umask : S_IRWXUGO); | 407 | (irix_symlink_mode ? 0777 & ~current_umask() : S_IRWXUGO); |
408 | xfs_dentry_to_name(&name, dentry); | 408 | xfs_dentry_to_name(&name, dentry); |
409 | 409 | ||
410 | error = xfs_symlink(XFS_I(dir), &name, symname, mode, &cip, NULL); | 410 | error = xfs_symlink(XFS_I(dir), &name, symname, mode, &cip, NULL); |