]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/omfs/inode.c
New helper - current_umask()
[linux-2.6-omap-h63xx.git] / fs / omfs / inode.c
index 633e9dc972bbc63edb052e89cd924aad8e25e8c3..aa6fc30772af278500145b7667a515508a19dd9c 100644 (file)
@@ -421,7 +421,7 @@ static int omfs_fill_super(struct super_block *sb, void *data, int silent)
 
        sbi->s_uid = current_uid();
        sbi->s_gid = current_gid();
-       sbi->s_dmask = sbi->s_fmask = current->fs->umask;
+       sbi->s_dmask = sbi->s_fmask = current_umask();
 
        if (!parse_options((char *) data, sbi))
                goto end;