diff options
Diffstat (limited to 'fs/omfs/inode.c')
-rw-r--r-- | fs/omfs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/omfs/inode.c b/fs/omfs/inode.c index d79e808fd028..379ae5fb4411 100644 --- a/fs/omfs/inode.c +++ b/fs/omfs/inode.c | |||
@@ -426,7 +426,7 @@ static int omfs_fill_super(struct super_block *sb, void *data, int silent) | |||
426 | 426 | ||
427 | sbi->s_uid = current_uid(); | 427 | sbi->s_uid = current_uid(); |
428 | sbi->s_gid = current_gid(); | 428 | sbi->s_gid = current_gid(); |
429 | sbi->s_dmask = sbi->s_fmask = current->fs->umask; | 429 | sbi->s_dmask = sbi->s_fmask = current_umask(); |
430 | 430 | ||
431 | if (!parse_options((char *) data, sbi)) | 431 | if (!parse_options((char *) data, sbi)) |
432 | goto end; | 432 | goto end; |